any ideas if I can detect if an image has layers or not using perlmagick? The docs don't mention anything about it in the perl API or cli tools. I also asked on the imagemagick-users list but haven't got a reply yet.
Any other software that I can use instead to find out if a given image has layers? Something with a perl API is preferred but a CLI one would do fine too.
Google the single word "pingimage" (which is an IM method I wasn't aware of before), and about the fourth entry down is a page from #*$!.uni-heidelburg.de with the words "Image Magic Methods" in the title. Its a nice IM reference page that I hadn't seen before. Under the L's I spotted the function "LayerImage". I bet if you start there you'll find some help. Good luck!
Thanks for the LayerImage reference but I don't know C, I'm looking for a perl API or a cli tool.
If anyone has other suggestions please let me know as a last resort I might check if using the C interface to build a simple app would work.