.ICO Read last scene
Posted: 2014-06-23T06:39:37-07:00
Hello together,
I am using ImageMagick 6.5.4-7, C++ API.
When using the Read() Function. It should be possible to read the latest scene from the list of scenes.
So it looks like this: ImageObject.read(inputFile + "[-1]")
This is working for most of my ICO Images. Tested about 100.
But for some ICO it is not working. It is selecting some scene from the middle.
If I do "identify" on those ICO Files, they are showing me more scenes, than "-1" is selecting.
Opening them in GIMP, GIMP shows me 16 Layers.
For example
ImageObject.read(inputFile + "[-1]") will select scene 5.
But "identify inputFile" shows me 0-16 scenes.
I am expecting "-1" to select scene 16.
Any Idea, what is going on ? Could this be a bug in IM ?
I don't have any idea to prevent this from happening.
Thanks
Tiongen
I am using ImageMagick 6.5.4-7, C++ API.
When using the Read() Function. It should be possible to read the latest scene from the list of scenes.
So it looks like this: ImageObject.read(inputFile + "[-1]")
This is working for most of my ICO Images. Tested about 100.
But for some ICO it is not working. It is selecting some scene from the middle.
If I do "identify" on those ICO Files, they are showing me more scenes, than "-1" is selecting.
Opening them in GIMP, GIMP shows me 16 Layers.
For example
ImageObject.read(inputFile + "[-1]") will select scene 5.
But "identify inputFile" shows me 0-16 scenes.
I am expecting "-1" to select scene 16.
Any Idea, what is going on ? Could this be a bug in IM ?
I don't have any idea to prevent this from happening.
Thanks
Tiongen