CS 686 PROJECT 1 Due Date: 7pm Thursday 08 Sep 2005 The purpose of this project is to acquaint students with some common graphics file-formats and image-compression techniques, and to provide an initial encounter with systems programming issues involved in the display of SVGA graphic images in a contemporary Linux environment. PROJECT STATEMENT Design an application program named 'bmpphoto.cpp' that will display the scanned color photograph, stored in a file (named 'fwright.bmp') that you can download from our course website. (For this you can just imitate the same basic steps as in our 'pcxphoto.cpp' demo-program, although some significant changes will be needed to accommodate the larger-sized image, the different layout of .bmp file-data, plus absence of RLE compression.) You can use 'google' to find detailed information about .bmp file-format. (The photograph you will display shows the interior of 'Hollyhock House', located at 4800 Hollywood Boulevard in Los Angeles, designed by acclaimed architect Frank Lloyd Wright in 1917 and donated to the city in 1927; you can find more information at ). EXTRA CREDIT Write an application program (named 'bmp2pcx.cpp') that will convert the 'fwright.bmp' image-file into a .pcx file (called 'fwright.pcx'), and submit a modification of our 'pcxphoto.cpp' application that will display your .pcx version of this remarkable image. (You will see a reduction in the file's size as you convert from .bmp to .pxe format, a result of your using RLE data-compression.) WHAT TO SUBMIT Copy your program source-files (including your header-files) to your CS 686 '/submit' directory, along with your compiled 'executables'. This will enable the Instructor to perform testing of your program-code. Also turn in to the Instructor's mailbox (in HRN-208) a paper printout of each source-file you authored. This will enable the instructor to easily read your code and add handwritten comments that can be returned to you. Turn in printout of 'bmpphoto.cpp' (for basic project-requirements) Turn in printout of 'bmp2pcx.cpp' and 'pcxphoto.cpp' (extra credit) NOTE: Please use our 'ljpages.cpp' utility to print your source files! _________________________________________________________________________ Allan B. Cruse University of San Francisco Fall 2005