2

Making Images The Easy Way

  1. Scan The Image
    Image scanners are available for no charge to Purdue students, staff and faculty in LAEB Mac and PC labs. They are also available for pay at some off-campus businesses (such as Kinko's)
    • TIFF saves image at best resolution
    • JPEG saves image at good resolution and compresses
      (easier to fit more images on disk, and on your account)
  2. Move the Image to your UNIX machine
    Use FTP from an internet-connected computer.
    • Remember to switch to binary -- moving as ASCII makes images angry
  3. Start ImageMagick
    • ImageMagick should be in your path
      /usr/local/bin/magick
      • but you can call it without editing your path
        prompt % /usr/local/bin/magick/display filename.tiff
    • It is safer to copy your image and make your changes on the copy
      prompt % cp file1.tiff file2.tiff
    • Display is graphical
      prompt % display filename.tiff
  4. Size to fit, if wished
    • View -- all size-changing commands in Display are here
      • Resize -- most general size-changing command
        accepts user input in both percentage and pixel form
  5. Save Your Work
    • Change Format -- 3 Universal Image formats for the Web
      • JPEG -- Doesn't work on some browsers, but smaller and better image quality
      • GIF -- Universal, but bigger images with worse image quality
        • Transparent GIFs
        • Animated GIFs
      • XBM -- Black & white, visible pixels, but can be fun
    • Change filename -- You should get rid of original image only when you know you don't need it anymore.
  6. Move Image to Where You Need It
    • ~you/public-web/images
    • webinit -- More info on this at Creating a Personal Homepage.
    • Set file permissions to make the image world-readable
      prompt % chmod 644 filename.jpg