I'm experiencing a color problem when converting from pdf files. It looks like the icc profile of the source pdf is ignored.
This has worked at some point with earlier versions of IM (and ghostscript). But we're caching image files so I can't really say when it stopped working.
IM and gs versions currently in use:
Code: Select all
convert -version
Version: ImageMagick 6.3.7 08/09/09 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC
gs -version
GPL Ghostscript 8.71 (2010-02-10)
Copyright (C) 2010 Artifex Software, Inc. All rights reserved.
Code: Select all
convert -verbose -density 600 foo.pdf -profile /home/journal/html/lib/ext/pdf/ISOnewspaper26v4_MaxK.icc -strip -quality 100 -resize 1870 bar.jpg
"gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pam" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r600x600" -dUseCIEColor "-sOutputFile=/tmp/magick-XXzv5TYn" "-f/tmp/magick-XXeK7oUE" "-f/tmp/magick-XXqoD0PV"
/tmp/magick-XXzv5TYn PNM 5102x7158 5102x7158+0+0 DirectClass 8-bit 139.313mb 1.380u 0:02
foo.pdf PDF 5102x7158 5102x7158+0+0 DirectClass 16-bit 139.313mb
/home/journal/html/lib/ext/pdf/ISOnewspaper26v4_MaxK.icc ICC 1x1 1x1+0+0 DirectClass 16-bit 849.148kb
foo.pdf=>bar.jpg PDF 5102x7158=>1870x2624 1870x2624+0+0 DirectClass 16-bit 5.05319mb 5.690u 0:07

I hope sombody can help.