LoadJPEGFileIntoDIB

#include "BIJPEG.H"

HANDLE CALLBACK LoadJPEGFileIntoDIB(INT_PTR nFile)

Description

Loads the image from the JPEG file into a device independent bitmap (DIB). The file is given by its handle. If the file contains embedded ICC profile, the pixel values are properly converted into sRGB standard color space during loading.

 

Parameters

INT_PTR

nFile

File handle of the JPEG file.

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.