MGL_loadJPEGExt
Load a JPEG bitmap file from disk using an open file.
Declaration
bitmap_t * MGLAPI MGL_loadJPEGExt(
FILE *f,
ulong dwOffset,
ulong dwSize,
int num8BitColors)
Prototype In
mgraph.h
Parameters
f |
Open binary file to read bitmap from |
dwOffset |
Offset to start of JPEG file within open file |
dwSize |
Size of JPEG file in bytes |
num8BitColors |
Number of colors for 8-bit image, 0 for RGB images, -1 for grayscale |
Return Value
Pointer to the loaded bitmap file
Description
This function is the same as MGL_loadJPEG, however it loads the file from a previously open file. This allows you to create your own large files with multiple files embedded in them.
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com