[Tugindia] Converting JPEG to PS
Kapil Hari Paranjape
kapil at imsc.res.in
Tue Nov 23 10:06:05 CET 2004
Hello,
Users who wish to convert JPEG to Postscript for inclusion in a
TeX/LaTeX document (or for any other reason) may want to use:
convert file.jpg eps2:file.eps
^
Note the 2! This is better than the default "convert file.jpg file.eps".
Explanation:
The default postscript level for PS conversion is 1 which produces large
and bad conversions since it produces pixelised bitmaps. In PS Level 2
and Level 3 the conversion of JPEG is inbuilt so the above procedure
just adds a bit of postscript header stuff to the *unchanged* jpeg file.
In other words this conversion is lossless.
You can also use "eps3" as the tag but beware that may be reasonably new
postscript printers that are *not* level 3 compliant. (Ghostscript *is*
level 3 compliant).
Regards,
Kapil.
--
More information about the tugindia
mailing list