Email address obfuscation in effect -- please
click here to turn it off.
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
I can view these files with gnome-gv.
-----Original Message-----
From: EMAIL:PROTECTED
[mailto:EMAIL:PROTECTED]On Behalf Of Rob Judd
Sent: Thursday, March 15, 2001 9:31 AM
To: EMAIL:PROTECTED
Subject: Re: [MLUG] Postscript to jpeg, or gif
> I have some eps "extended postscript" files that I need converted into a
> jpeg, gif , or some type of graphics format that can be displayed on the
> web. I have found lot's of converters that will convert anything to
> postscript, but I can not find one to convert from postscript to a
graphics
> file.
ghostscript (aka gs) is your friend. Seriously, gs is the program to use
to convert postscript to any other format. For example gs is used to
print a postscript file to a non-postscript printer (provided gs supports
the printer). You need to check to make sure your copy supports jpeg as
an output device. If it does, then something like:
gs -q -dNOPAUSE -sDEVICE=jpeg -sOutputFile=foo.jpg foo.ps quit.ps
should convert foo.ps to foo.jpg. I know you said encapsulated
postscript, but from what I remember eps is just postscript with a
bounding box so it should be handled the same way. Failing that you can
take out the bounding box and call it a regular postscript file...
To check if jpeg is supported as an output device just type 'gs' and at
the prompt type 'devicenames ==' and look in the listing. There should be
something like /jpeg. Or just try the command above and see if it works.
Cheers, Rob
--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php
Archives are available at http://mlug.missouri.edu/list-archives/
--
To manage your subscription, go to http://mlug.missouri.edu/members/edit.php
Archives are available at http://mlug.missouri.edu/list-archives/