#include "BIJPEG.H"
HANDLE CALLBACK LoadJPEGIntoDIB(LPTSTR lpFileName)
Description
Loads the image from the JPEG file lpFileName into a device independent bitmap (DIB). If the file contains embedded ICC profile, the pixel values are properly converted into sRGB standard color space during loading.
Parameters
|
LPTSTR |
lpFileName |
Pointer to the file name string. |
Additional Information
This example shows how to use the dll when loading statically including the header file. Otherwise if the dll is loaded dynamically, for further information read the “About the difference of static and dynamic library loading” section of the manual.
Return values
The handle to device independent bitmap is NULL if any error occurs. The palette information is in the DIB.
Requirements
Header : Declared in BiJpeg.h; include BiJpeg.h.
Library : Use BiJpeg.lib.
DLLs : BiJpeg.dll.