Home

April 29th, 2008

10:49 am
Smiths Rule

I have been listening to the Smiths all morning, I forgot how good they were! Does this mean that they're no longer my favorite band?! Shock and horror!

12:34 pm
TIFF to PDF

So there's this new copier at work which can also scan documents. The documents it produces are in TIFF format (one per page scanned). Typically, I would want to get them into a format suitable for PDF'ing. The problem is that I hadn't figured out how to get multiple TIFF files into one file. There might be an easier way, but here goes.
  1. download the TIFF
  2. open it in the GIMP
  3. Convert it to greyscale (or truecolor)
  4. Scale it down to 25% of the original size, set the DPI to 200
  5. Zoom to 100%
  6. Save as... filename.ps (postscript)
  7. In the dialog box that comes up, set the image size to 8.5x11, change the X and Y offset to 0.
  8. Rinse and repeat for each TIFF file
  9. cat each file in page order to a new file (cat *.ps > new_file.ps)
  10. Run ps2pdf on the new_file.ps
Now if I could only use ImageMagick to manipulate the TIFF file, then I could script the whole thing.