Both your tif images look the same. Using IM compare to look at pixel differences,
I get zero difference
Code: Select all
compare -metric rmse close_layer_by_IM.tif close_layer_by_photoshop.tif null:
0 (0)
So what is the problem?
By the way, IM 6.7.7-10 is very old (about 140 versions old). You should probably upgrade if you can.
The difference is likely in the compression and meta data. IM is likely doing a some lossless compression and PS is likely doing compression none. So try
Code: Select all
convert openlayer.psd[0] -compress none result.tif
identify result.tif
result.tif TIFF 640x480 640x480+0+0 8-bit sRGB
963KB 0.000u 0:00.000
Or you can change the PS compression to match your IM compression.
You can use tiffinfo to see the meta data differences.
Code: Select all
tiffinfo close_layer_by_IM.tif
tiffinfo close_layer_by_photoshop.tif
tiffinfo shows
close_layer_by_IM.tif
Compression Scheme:
PackBits
and
close_layer_by_photoshop.tif
Compression Scheme:
None
I am not sure how you achieved PackBits compression, since it is not in the current list of compressions that IM can do. See
http://www.imagemagick.org/script/comma ... p#compress. But that may be due to your older IM version. Packbits is an old Apple RLE compression method according to
https://en.wikipedia.org/wiki/PackBits. On my Mac OSX system, the listed IM 6.9.2.0 Q16 compressions are:
Code: Select all
convert -list compress
B44
B44A
BZip
DXT1
DXT3
DXT5
Fax
Group4
JBIG1
JBIG2
JPEG
JPEG2000
Lossless
LosslessJPEG
LZMA
LZW
None
Piz
Pxr24
RLE
Zip
RunlengthEncoded
ZipS
And PackBits is not listed, though RLE is. Perhaps PackBits is deprecated in favor of current RLE compression in current IM.