CS/ECE 545 Homework 9

Complete by Class 11


Write a program to convert a color image to use only the 216 websafe colors 0x000000, 0x000033, ..., 0xFFFFFF. Test it on the American Gothic image AmGoth.img, AmGoth.gif. Suggest a way to eliminate the banding effect that is visible in the sky and the artifacts that are visible in the faces.

Extra credit: Implement your suggestion.

What to hand in
Hand in to class

CS/ECE 545 Staff
Contents ©1997 - 2011 Norman Wittels and Michael A. Gennert