Bruce Barton - 2015-12-11

USING THE IJG JPEG-6c LIBRARY

Copyright (C) 1994-1998, Thomas G. Lane.
This file is part of the Independent JPEG Group's software.
For conditions of distribution and use, see the accompanying README file.
Modified by Bruce Barton of BITS Limited for settable bit width with the crop and lossless patches.

The file example.c provides heavily commented skeleton code for calling the
JPEG library. Also see jpeglib.h (the include file to be used by application
programs) for full details about data structures and function parameter lists.
The library source code, of course, is the ultimate reference.

Note that there have been major changes from the application interface
presented by IJG version 4 and earlier versions. The old design had several
inherent limitations, and it had accumulated a lot of cruft as we added
features while trying to minimize application-interface changes. We have
sacrificed backward compatibility in the version 5 rewrite, but we think the
improvements justify this.

Precompiled versions are in the files section for 32 and 64 bit versions.

libjpeg.doc discribes how to use the settable bit width. With the defaults, if will function the same as the jpeg-6b library compiled for 8 bits wide.