[magick-users] How can I list the layers of a PNG?

Anthony Thyssen anthony at griffith.edu.au
Mon Oct 20 21:04:37 PDT 2008


"=?ISO-8859-1?Q?Richard_Vall=E9e?=" on  wrote...
| I'm trying to find a way, either from a linux command line application, or
| through something accessible from PHP (MagickWand?) that would read a PNG
| file and return the layers information of the file.
| 
| Maybe there are different ways to name so to be specific, by layers I mean
| basically the same info I would get by opening the file with Fireworks and
| checking the layers window.
| 
| Is this something ImageMagick can do? If not is there a way, even through
| libpng? I'd rather not but if necessary I have no problem writing a small C
| application that would do this, given I know how to proceed.
| 
A PNG file does not have multiple layers.

It does have offset information for layers but that is the extent of it.


  Anthony Thyssen ( System Programmer )    <A.Thyssen at griffith.edu.au>
 -----------------------------------------------------------------------------
    I have a Dragon here, and I am not afraid to use it!
                                    -- Donkey, "Shrek" the movie
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/


More information about the Magick-users mailing list