CSUF LogoCSUF Site Navigation
optics.csufresno.edu

F7 Drawing & Image Manipulation Programs jpeg2ps

Department of Electrical and Computer Engineering
Assistant Professor Gregory R. Kriehn
Forums
Wiki
F7 jpeg2ps
From the jpeg2ps site,

jpeg2ps is a utility for converting JPEG images to compressed PostScript Level 2 or 3 files (without uncompressing the images). The JPEG data is simply »wrapped« with PostScript which yields considerably smaller PS files. jpeg2ps is a simple command line utility and can be used on DOS, Windows, and Unix machines.

To install the program, go to the jpeg2ps homepage:

http://www.pdflib.com/download/free-software/jpeg2ps/

Click on the jpeg2ps-1.9.tar.gz link, which will download the jpeg2ps-1.9.tar.gz file.
Next, create an appropriate directory to install jpeg2ps under /usr/local/src/jpeg2ps:
~> sudo mkdir /usr/local/src/jpeg2ps
Copy the source tarball to the directory:
~> sudo cp ~/Download/jpeg2ps-1.9.tar.gz /usr/local/src/jpeg2ps/.
Change into the jpeg2ps directory:
~> cd /usr/local/src/jpeg2ps
and decompress the source:
~> sudo tar vfzx jpeg2ps-1.9.tar.gz
Once the package has been decompressed, delete the source file, and change into the jpeg2ps directory:
~> sudo rm jpeg2ps-1.9.tar.gz
~> cd jpeg2ps-1.9
There is no configure file, so the next step is to compile it:
~> sudo make
Once compiled, you can then install it:
~> sudo make install
Finally, source your ~/.tcshrc file
~> source ~/.tcshrc
and you are now ready to use jpeg2ps. If you need help with the syntax, read the man page.