CSC220 Lab 2 2010

From dftwiki3
Revision as of 10:40, 14 September 2010 by Thiebaut (talk | contribs) (Creating Images)
Jump to: navigation, search

Page under construction!
UnderConstruction.jpg

Creating Images

  • This part of the lab uses a very nice and powerful program that is often bundled in the various Linux distribution (Fedora, Ubuntu, Suse, etc): ImageMagick. It is a collection of different programs that allow for very clever and powerful image manipulations.

Part 1

  • There are 3 images in the 220a public_html folder, called 220a.jpg, 220b.jpg, and 220c.jpg. You can see them by opening this URL: http://cs.smith.edu/~220a/
  • use wget (see Lab 1) to retrieve all three images into your account. Use a for-loop! Something like this is a good start:
 for i in a b c ; do
    echo $i
    echo 220${i}
 done
  • verify that you got the images by displaying them with the display command (also part of imagemagick). Example:
 display 220a.jpg