Page 1 of 1

cannot compare PS TIF with IM TIF IM 6.9.2.3 Q16 Mac OSX

Posted: 2015-10-07T16:33:45-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

Code: Select all

identify mickey.psd
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

Code: Select all

identify mickey_ps.tif
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

Code: Select all

identify mickey_im.tif
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

All the above have 2 layers.

Now I try to compare each layer of the two tif files.

Code: Select all

compare -metric rmse mickey_ps.tif[0] mickey_im.tif[0] null:
1479.38 (0.022574)

Code: Select all

compare -metric rmse mickey_ps.tif[1] mickey_im.tif[1] null:
compare: missing an image filename `mickey_im.tif[1]' @ error/compare.c/CompareImageCommand/957.

Re: cannot compare PS TIF with IM TIF IM 6.9.2.3 Q16 Mac OSX

Posted: 2015-10-08T13:50:14-07:00
by dlemstra
This is the caused by the same bug as reported in this one: viewtopic.php?f=3&t=28469. It will be fixed in the next version of ImageMagick (6.9.2-4)

Code: Select all

compare -metric rmse mickey_ps.tif[1] mickey_im.tif[1] null:
0 (0)