# Bourne shell script to cut slices of a JPG page image and make
# separate JPG files from each line. It used to convert to PNM to get the
# image size but this version assumes a whole uncropped page, so we give
# absolute coordinates for the starting-point. The master page is made
# by making a 1-page A4 PS file with dvips at 600dpi, then running GS on
# it with DEVICE=jpeggray and r=300. If you use other settings, open the
# JPG file in a graphics editor and work out initial values for LEFT, TOP,
# WIDTH, and SLICE by yourself.
# Peter Flynn, Silmaril Consultants, 2000/2001/2002/2003