[UFO Chicago] gs -sDEVICE=gif*

Neil R. Ormos ormos-ufo at ormos.org
Mon Nov 6 13:35:35 CST 2023


Jay F. Shachter wrote:
> [Jim Hoffman wrote:]

>> ImageMagi[c]k can convert from ps to multiple output formats.

> I would be really interested in knowing whether anyone has actually
> tested that hypothesis.  When I type

>    convert filea.ps fileb.gif

> for appropriate values of filea and fileb, the output file is always
> totally black.

Are you sure the output file is actually black?  The background may be transparent instead of white.

In the past, I have not found Image Magick's direct convertion to or from PS or PDF to be satisfactory.

I recommend using gs to convert to one of the simple image formats, and then using Image Magick to convert that image into GIF.

  gs -r100x100 -dBATCH -dNOPAUSE -sDEVICE=png48 -sOutputFile=ccc.png ccc.pdf
  convert ccc.png ccc.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ccc.gif
Type: image/gif
Size: 13164 bytes
Desc: 
URL: <http://ufo.chicago.il.us/pipermail/ufo/attachments/20231106/b37ec780/attachment-0001.gif>


More information about the ufo mailing list