CS 074 The Digital World

Spring 2008
Computer Science Department
The College of Arts and Sciences
Boston College

About Syllabus Textbooks Grading
Staff Problem Sets Projects WebCT
Resources News Stand Python

Problem Set 5: Working with Digital Images

Assigned: Friday February 22, 2008
Due: Friday February 29, 2008
Points: 16 Points

Working with 8-bit Grayscale Bitmaps

  1. (2 Points) Use the binary editor to create a 200 x 200 grayscale image with gray stripes as shown:

  2. (4 Points) Use the binary editor to create a 200 x 200 empty frame as shown:

  3. (4 Points) Use the binary editor to frame a 200 x 200 picture as shown:

  4. (4 Points) Use the binary editor to tip an image to the left as shown:

Working with 24-bit Color Bitmaps

  1. (3 Points) Download the JPEG on the left, convert it to a 24-bit bitmap and then amp up the green to 255 as shown on the right.

  2. (3 Points) Using the same original as in the previous problem, double the amount of red as shown on the right.