How do I list the layers of a PNG?
Posted: 2008-10-20T13:21:35-07:00
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.
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.