1. Introduction
2. Compile and run
The original JPEG decoder is located in ./c_prog/djpeg_orig and formed the basis for the multi-processor JPEG decoder. The JPEG decoder takes a JPEG image and converts it to a uncompressed bitmap. A short introduction to the JPEG decoding process can be found in chapter 2 and appendix of the report "Design and implementation of a JPEG decoder" by Sander Stuijk.
Type make on the command line to compile the decoder. You need to change Makefile if you are using a C++ compiler other than gcc.
The syntax of the original decoder is: jpeg input_image where input_image is the name of the JPEG image that needs to be converted. The output image is a file with the .ras extension. It is a bitmap in the Sun Rasterfile format that can be opened by for example eog (Eye of Gnome; Linux platform).