Page 1 of 1

OS X wrong image signature

Posted: 2014-06-11T21:43:46-07:00
by alex@shopnation.com
I am getting an unexepcted image signature on OS X. Stranger is the fact that I get different output depending on how IM was installed...
I also asked my coworkers to run the command (all use OS X) and they also got the wrong result.
Arch Linux, Windows, and Amazon Linux give the correct output (I hope).

Test command (also having the same problem with convert -identify)

Code: Select all

identify -format %# http://oi58.tinypic.com/2wp5b9c.jpg
expected output (image signature): 4cfd67bfba32fa8a46ed20b9e1c1656508cc573f7e4bde90268fa024b220d0cd

bad output on OS X 10.9.3 (IM installed using homebrew)

Code: Select all

identify -format %# http://oi58.tinypic.com/2wp5b9c.jpg
3313ad034c0e6b34e7b080979ec1e3eeffe59c25d5b0d7a762bdf8755bef015f
identify -version
Version: ImageMagick 6.8.9-1 Q16 x86_64 2014-05-12 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib freetype jng jpeg ltdl lzma png xml zlib
bad output on OS X 10.9.3 (IM installed using MacPorts)

Code: Select all

identify -format %# http://oi58.tinypic.com/2wp5b9c.jpg
517521b7b123313ed60f9e4369b12ab7bea3a7bc2769cdb488de4291db081812
identify -version
Version: ImageMagick 6.8.9-1 Q16 x86_64 2014-06-11 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates: bzlib djvu fftw fontconfig freetype gslib jng jpeg lcms ltdl lzma png ps tiff webp x xml zlib
good output on Arch Linux 3.14.6-1-ARCH x64 (installed using packer)

Code: Select all

identify -format %# http://oi58.tinypic.com/2wp5b9c.jpg
4cfd67bfba32fa8a46ed20b9e1c1656508cc573f7e4bde90268fa024b220d0cd
identify -version
Version: ImageMagick 6.8.9-1 Q16 x86_64 2014-05-28 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC HDRI Modules OpenCL OpenMP
Delegates: bzlib cairo fontconfig freetype gslib jng jp2 jpeg lcms lqr ltdl lzma pangocairo png ps rsvg tiff webp wmf x xml zlib
good output on Windows 7 Home Premium SP1 x64 (installed using http://www.imagemagick.org/download/bin ... 64-dll.exe)

Code: Select all

identify -format %# http://oi58.tinypic.com/2wp5b9c.jpg
4cfd67bfba32fa8a46ed20b9e1c1656508cc573f7e4bde90268fa024b220d0cd
identify -version
Version: ImageMagick 6.8.9-2 Q16 x64 2014-05-27 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules OpenMP
Delegates: bzlib cairo freetype jbig jng jp2 jpeg lcms lqr pangocairo png ps rsvg tiff webp xml zlib
good output on Amazon Linux AMI release 2014.03 (installed from Amazon Repository)

Code: Select all

identify -format %# http://oi58.tinypic.com/2wp5b9c.jpg
4cfd67bfba32fa8a46ed20b9e1c1656508cc573f7e4bde90268fa024b220d0cd
Version: ImageMagick 6.7.8-9 2014-05-12 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP