4 // header file for the BMGLib JPEG functions
6 // Copyright 2000, 2001 M. Scott Heiman
8 // libJPEG is Copyright (C) 1991-1998, Thomas G. Lane and is part of the
9 // Independent JPEG Group's software.
11 // We are releasing this software for both noncommercial and commercial use.
12 // Companies are welcome to use it as the basis for JPEG-related products.
13 // We do not ask a royalty, although we do ask for an acknowledgement in
14 // product literature (see the README file in the distribution for details).
15 // We hope to make this software industrial-quality --- although, as with
16 // anything that's free, we offer no warranty and accept no liability.
20 #if defined(__cplusplus)
24 extern BMGError ReadJPEG( const char *filename,
25 struct BMGImageStruct *img );
27 extern BMGError WriteJPEG( const char *filename,
28 struct BMGImageStruct img,
31 #if defined(__cplusplus)