Page 1 of 1

strange eps conversion behaviour (white result)

Posted: 2008-04-09T03:03:43-07:00
by kriks
Hello,

for this picture : http://www.pingroom.net/1erchoix.eps

a convert to jpg gives a white picture.

Code: Select all

# convert -verbose 1erchoix.eps 1erchoix.jpg
"gs" -q -dQUIET -dPARANOIDSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=0 "-sDEVICE=pam" -dTextAlphaBits=4 -dGraphicsAlphaBits=4 "-r72x72" -g165x118  "-sOutputFile=/tmp/magick-XXgB84T3" "-f/tmp/magick-XXXbGi4u" "-f/tmp/magick-XX6EoxjW"
/tmp/magick-XXgB84T3 PNM 165x118 165x118+0+0 DirectClass 8-bit 76.166kb
/tmp/magick-XXJWQrzn PS 165x118 165x118+0+0 DirectClass 16-bit 76.166kb
1erchoix.eps EPT 165x118 165x118+0+0 DirectClass 16-bit 76.166kb
1erchoix.eps=>1erchoix.jpg EPT 165x118 165x118+0+0 DirectClass 16-bit 5.96875kb

# convert -version
Version: ImageMagick 6.3.8 02/28/08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC

# gs -version
GPL Ghostscript 8.61 (2007-11-21)
Copyright (C) 2007 Artifex Software, Inc.  All rights reserved.

could this be a bug?

Re: strange eps conversion behaviour (white result)

Posted: 2008-04-09T06:24:17-07:00
by magick
The EPS image is in the CMYK colorspace and creates a CMYK JPEG. What you probably want is a RGB JPEG image. Use this command:
  • convert -colorspace rgb 1erchoix.eps 1erchoix.jpg

Re: strange eps conversion behaviour (white result)

Posted: 2008-04-09T06:42:22-07:00
by kriks
okay, sorry for that.