A.1 Conversion of jpeg images to PostScript

The need to convert bitmap images – for example, those in jpeg format – into PostScript representations is commonly encountered by users of the latex typesetting system, since latex’s includegraphics command can only incorporate Encapsulated PostScript (EPS) images into documents. A small number of graphics packages provide facilities for making such conversions, including ImageMagick’s convert command, but these almost invariable produce excessively large PostScript files on account of their failure to use PostScript’s native facilities for image compression. Pyxplot’s image command can in many cases perform much more efficient conversion:

set output image.eps
image 'image.jpg' width 10