[bug-gswin] Bub-report: Postscript -> JPEG

Ray Johnston ray.johnston@artifex.com
Tue, 08 Jul 2003 09:00:24 -0700


Raj,

The file 'quit.ps' is not a file that performs a 'showpage' (all it
contains is the single PostScript operator 'quit'), so no JPEG file
should be produced.

Please try examples/tiger.eps or other files in the 'examples' folder.

Note that the files in the 'lib' directory are not intended to be
produce output -- they are utilities and part of Ghostscript itself.

If you have a PostScript program that works to a PostScript printer
or can be imported to a program such as Adobe Photoshop or Adobe
Illustrator.

I also suggest that you read all of the documentation in the 'doc'
directory that is intended for users of Ghostscript.

Raj Indugula wrote:
> 
> ------------------------------------------------------------------------
> Symptoms:
> 
> Unable to convert a PostScript file to an image (JPEG).
> 
> Command issued:
> gswin32c -dSAFER -dBATCH -dNOPAUSE -sDEVICE=jpeg -sOutputFile=quit.jpg
> quit.ps
> 
> where, quit.ps is just a test file I copied over from the GhostScript
> lib folder into bin.  Same result with any postscript file.  The above
> command seems to work correctly on PDF files, just not PostScript.
> Tried the conversion with gswin32 as well without success.
> ------------------------------------------------------------------------
> Ghostscript version (or include output from "gs -h"):
> 
> AFPL Ghostscript 8.00
> ------------------------------------------------------------------------
> Where you got Ghostscript:
> 
> http://www.cs.wisc.edu/~ghost/doc/AFPL/index.htm
> ------------------------------------------------------------------------
> Hardware system you are using (including printer model if the problem
> involves printing):
> 
> PC
> ------------------------------------------------------------------------
> Operating system you are using:
> 
> Windows 2000 Professional
> ------------------------------------------------------------------------
> If you are using X Windows, and your problem involved output to the
> screen, the output from running xdpyinfo and xwininfo:
> 
> N/A
> ------------------------------------------------------------------------
> C compiler you are using, including its version, if you compiled
> Ghostscript yourself:
> 
> N/A
> ------------------------------------------------------------------------
> If you compiled Ghostscript yourself, changes you made to the
> makefiles:
> 
> N/A
> ------------------------------------------------------------------------
> Environment variables:
> 
>         GS_DEVICE
> 
>         GS_FONTPATH
> 
>         GS_LIB
> 
>         GS_OPTIONS
> 
> ------------------------------------------------------------------------
> Command line:
> 
> gswin32c -dSAFER -dBATCH -dNOPAUSE -sDEVICE=jpeg -sOutputFile=quit.jpg
> quit.ps
> 
> where, quit.ps is just a test file I copied over from the GhostScript
> lib folder into bin.
> 
> ------------------------------------------------------------------------
> URL or FTP location of test files (include the data at the end of this
> form if 500K or less):
> 
> ------------------------------------------------------------------------
> Suggested fix, if any:
> 
> ------------------------------------------------------------------------
> Other comments:
> 
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
> _______________________________________________
> Bug-gswin mailing list
> Bug-gswin@ghostscript.com
> http://www.ghostscript.com/mailman/listinfo/bug-gswin