Page 1 of 1

identify confuses the image numbering with more than 2 images IM 6.9.2.3 Q16 Mac OSX

Posted: 2015-10-07T16:39:54-07:00
by fmw42
I have this 250x250 original transparent PNG:

Image


I opened it in Photoshop and copied it to a larger size (300x300) transparent background and saved it as PSD and then as TIF in Photoshop. I also saved the PSD to TIF in Imagemagick:

http://www.fmwconcepts.com/misc_tests/t ... mickey.psd

http://www.fmwconcepts.com/misc_tests/t ... key_ps.tif

http://www.fmwconcepts.com/misc_tests/t ... key_im.tif

With two images it lists the image sequence as: 0,1,2,3

Code: Select all

identify mickey.psd mickey_ps.tif
mickey.psd[0] PSD 300x300 300x300+0+0 8-bit sRGB 248KB 0.000u 0:00.000
mickey.psd[1] PSD 250x250 250x250+25+25 8-bit sRGB 248KB 0.000u 0:00.000
mickey_ps.tif[2] TIFF 300x300 300x300+0+0 8-bit sRGB 492KB 0.000u 0:00.000
mickey_ps.tif[3] TIFF 250x250 250x250+25+25 8-bit sRGB 0.000u 0:00.000


With 3 images it lists the image sequence as: 0,1,2,3,4,1 rather than 0,1,2,3,4,5
identify mickey.psd mickey_ps.tif mickey_im.tif
mickey.psd[0] PSD 300x300 300x300+0+0 8-bit sRGB 248KB 0.000u 0:00.000
mickey.psd[1] PSD 250x250 250x250+25+25 8-bit sRGB 248KB 0.000u 0:00.000
mickey_ps.tif[2] TIFF 300x300 300x300+0+0 8-bit sRGB 492KB 0.000u 0:00.000
mickey_ps.tif[3] TIFF 250x250 250x250+25+25 8-bit sRGB 0.000u 0:00.000
mickey_im.tif[4] TIFF 300x300 300x300+0+0 8-bit sRGB 674KB 0.000u 0:00.000
mickey_im.tif[1] TIFF 250x250 250x250+25+25 8-bit sRGB 674KB 0.000u 0:00.000

Re: identify confuses the image numbering with more than 2 images IM 6.9.2.3 Q16 Mac OSX

Posted: 2015-10-09T00:01:33-07:00
by dlemstra
We will no longer confuse you in the next release of ImageMagick (6.9.2-4). The output will be this:

mickey.psd[0] PSD 300x300 300x300+0+0 8-bit sRGB 248KB 0.000u 0:00.000
mickey.psd[1] PSD 250x250 250x250+25+25 8-bit sRGB 248KB 0.000u 0:00.000
mickey_ps.tif[0] TIFF 300x300 300x300+0+0 8-bit sRGB 492KB 0.000u 0:00.000
mickey_ps.tif[1] TIFF 250x250 250x250+25+25 8-bit sRGB 0.000u 0:00.000
mickey_im.tif[0] TIFF 300x300 300x300+0+0 8-bit sRGB 674KB 0.000u 0:00.000
mickey_im.tif[1] TIFF 250x250 250x250+25+25 8-bit sRGB 674KB 0.000u 0:00.000

Re: identify confuses the image numbering with more than 2 images IM 6.9.2.3 Q16 Mac OSX

Posted: 2015-10-09T09:45:56-07:00
by fmw42
That makes more sense to me. Thanks.