summaryrefslogtreecommitdiff
path: root/graphics/jpeg2ps/README
blob: 7ff1112773ef4784b4339244f68002874b576952 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Purpose of jpeg2ps
==================
jpeg2ps converts JPEG files to PostScript Level 2 or 3 EPS. In fact, jpeg2ps
is not really a converter but a "wrapper": it reads the image parameters
(width, height, number of color components) in a JPEG file, writes the
corresponding EPS header and then copies the compressed JPEG data to the output
file. Decompression is done by the PostScript interpreter (only PostScript
Level 2 and 3 interpreters support JPEG compression and decompression).
If you have a slow communication channel and a fast printer, sending
compressed image data is a big win.

Note: if you are interested in conversion of JPEG or other formats to
PDF take a look at PDFlib (http://www.pdflib.com).