Publisher review:JpegFile class reads a JPEG file into an RGB buffer The class is called JpegFile. It is based on a Win32 compilation of the IJG V.6a JPEG source. It does two main things :
- it reads a JPEG file into an RGB buffer,
- it saves an RGB buffer as an RGB or grayscale JPEG file.
There are some utility routines in it to do things like:
- RGB -> BGR
- vertical flip
- DWORD-align
- un DWORD-align
- convert to grayscale
- Color quantize a 24-bit image to an 8-bit image Also included, is code to read : 1, 4, 8 and 24 bit BMP files and to write : 1, 4, 8 and 24-bit BMP files.
There are no provisions for progressive reading, progress bars, partial reads/saves, extended error handling, etc.. It uses a small portion of what the IJG code is capable of doing.
JpegFile is a C/C++ script for PHP-Nuke Addons scripts design by Smaller Animals Software, Inc..
It runs on following operating system: Windows.
Operating system:Windows