jpegEnc Code
Brought to you by:
haohu
File | Date | Author | Commit |
---|---|---|---|
Compiler | 2010-03-30 | haohu | [r3] These .o and .a files was ignored by subversion... |
README.txt | 2010-03-30 | haohu | [r2] Make everything standalone. Even include the mi... |
buildit.bat | 2010-03-30 | haohu | [r2] Make everything standalone. Even include the mi... |
input.pgm | 2010-03-29 | haohu | [r1] Initial Check in. |
input.ppm | 2010-03-29 | haohu | [r1] Initial Check in. |
jpegEnc.c | 2010-03-30 | haohu | [r2] Make everything standalone. Even include the mi... |
jpegEnc.h | 2010-03-30 | haohu | [r2] Make everything standalone. Even include the mi... |
jpegEncPrivate.h | 2010-03-30 | haohu | [r2] Make everything standalone. Even include the mi... |
pnm2jpeg.c | 2010-03-30 | haohu | [r2] Make everything standalone. Even include the mi... |
test.bat | 2010-03-30 | haohu | [r2] Make everything standalone. Even include the mi... |
This is jpegEnc, a tiny foot print jpeg encoder. The implementation is just ANSI C. It should be very straight-forward to port to any platform. Here is the file list: buildit.bat batch file to compile and generate pnm2jpeg.exe [Compiler] Minimal GCC 3.4.5 input.pgm Grayscale test input file (Use XnView to view) input.ppm RGB color test input file (Use XnView to view) jpegEnc.c Main jpegEnc Library Code jpegEnc.h jpegEnc API header file jpegEncPrivate.h jpegEnc Private header file pnm2jpeg.c Demo program README.txt This file test.bat Execute pnm2jpeg.exe to do the jpeg compression For technical details. Please see the the comments in jpegEnc.h jpegEnc.c