Assignment 2: Reading, Displaying and Writing Images

The aim of this assignment is to produce a small program to read in a TGA image file, display it on the screen, and write it out again (with a new name). The small program you produce will form the basis for the first project.

For this assignment you must produce a program that:

To help you with this task, we provide a library for manipulating TGA files (called LibTarga). FLTK provides functions for drawing images and choosing files. The best way to do this assignment is to work through the tutorial written by Raj.

The source for libtarga is available here, should you wish to download it for home. You will need to build at least the debug multithreaded configuration (which may not be the default). Note also that the pathnames to get to the include files and libraries will be different than those used at school.

Back to CS559 Home Page