[Univ of Cambridge] [Dept of Engineering]
next up previous contents
Next: Bitmaps Up: Graphics Previous: Scaling, rotation, clipping, wrap-around

GIF and jpeg files

CUED users can include a file called keyboard.gif, for example, by doing gif2ps -b keyboard.gif (as long as you don't change the GIF file you need only do this once) and then including the GIF file as you would a postscript one.

For JPEG files run "jpeg2ps -h file.jpg > file.eps" then include the postscript file in the usual way. The resulting eps file will be little bigger than the original file. Alternatively, if you put the 'Bounding Box' line from the eps file and put it in file.jpg.bb you can include JPEG files in the same way that you do postscript files.



Tim Love
1999-08-05