strange eps conversion behaviour (white result)

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

strange eps conversion behaviour (white result)

Post 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?
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: strange eps conversion behaviour (white result)

Post 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
kriks
Posts: 114
Joined: 2008-01-04T05:52:03-07:00

Re: strange eps conversion behaviour (white result)

Post by kriks »

okay, sorry for that.
Post Reply