Page 1 of 1

How do I find out if a ICO contains multi layers?

Posted: 2012-10-01T02:33:49-07:00
by Cat
I have been using GetImageInformation and GetConvertedImage to try figure out if my ICO contains multi layers (Using another drawing tool I know my ICO is valid and contains several resolutions) but those functions are not returning me anything. In fact I never return from those functions and my application fails silently. Do you know what function I should be calling to figure out the format of the image and whether the ICO contains multiple resolutions>
Thanks

Re: How do I find out if a ICO contains multi layers?

Posted: 2012-10-09T22:18:58-07:00
by anthony
Just identify the image. if the image contains multiple images, identify will list them.

Alternativally you can use %n in a -format to just get the number of images IM found.