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

Richard Vallée richardvallee at gmail.com
Mon Oct 20 18:21:40 PDT 2008


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.


Thanks,
Rich.


More information about the Magick-users mailing list