thumbnails are not generated when converting eps to png

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
gk_imagemagic
Posts: 8
Joined: 2013-11-20T12:20:21-07:00
Authentication code: 6789

Re: thumbnails are not generated when converting eps to png

Post by gk_imagemagic »

we are using command - "covert abc.eps abc.png"

We also tried running this conversion command directly on GS as well.

gs -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pswrite' '-sOutputFile=BBC096R0_PA_Alert_Env_1280_1280.png' '-fBBC096R0_PA_Alert_Env.eps'

Unknown device: pswrite
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
gk_imagemagic
Posts: 8
Joined: 2013-11-20T12:20:21-07:00
Authentication code: 6789

Re: thumbnails are not generated when converting eps to png

Post by gk_imagemagic »

command we are using is : convert abc.eps abc.png

And also we tried running directly on GS script as well .Below are the results

gs -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pswrite' '-sOutputFile=BBC096R0_PA_Alert_Env_1280_1280.png' '-fBBC096R0_PA_Alert_Env.eps'
Unknown device: pswrite
Unrecoverable error: undefined in .uninstallpagedevice
Operand stack:
defaultdevice
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: thumbnails are not generated when converting eps to png

Post by fmw42 »

GS is trying to use pswrite for output. I am sorry, but I do not know what pswrite is nor what delegate is needed. Something would seem missing from your install. Perhaps reinstall GS.
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: thumbnails are not generated when converting eps to png

Post by snibgo »

"-sDEVICE=pswrite" is for sending the output to PostScript devices, which isn't appropriate for PNG files. "-sDEVICE=pngalpha" or similar would be more usual.

@gk_imagemagic: what text output do you get from:

Code: Select all

convert -verbose abc.eps abc.png
snibgo's IM pages: im.snibgo.com
Post Reply