I am doing a project on lossless compression algorithms. I have selected Run Length Encoding as the prefered option that is efficient with black and white images (test image is an X-ray) I need code that will accept a bit map image and compress it using an RLE algorithm, a second algorithm can be used to turn the (now compressed) file back into a bitmap image for reading.
## Deliverables
program 1 Must accept input of the test bitmap-106k in its uncompressed state (attached), compress it using Run Length Encoding and output a new (compressed & smaller) file The assignment theory is that this RLE compressed file will then be emailed to another pc (hence the need for compressing AND the need to make this 2 seperate programs)-although at this stage, the RLE compressed image that is the output of program 1 DOES NOT need to be viewable. program 2 Will then take the (compressed) output of program 1 and de-compress it back to its original state (106k)(losslessly, if the RLE alogrithm is implemented correctly). At this stage the image will now have to be readable (using standard windows image viewers). The code will need to be well documented on an almost line by line basis, preferably with brief comments on choice of variables, etc. Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
## Platform
This is required in Turbo Pascal 6. Borland Turbo 6 compiler. The coder identified can email me direct for a 1mb copy of this compiler if they wish to be certain of compatability
## Deadline information
Program 1 is needed for 26/03/02 Program 2 can follow the next day if necessary. When both programs are recieved these need to be in a compilable state so I can use the attached test file to check they are doing what has been specified in the above text.