GetJPEGFileDimensions

#include "BIJPEG.H"

int CALLBACK GetJPEGFileDimensions( LPTSTR  lpFileName,
LPBITMAPINFOHEADER lpBi)

Description

Fills a BITMAPINFOHEADER structure based on the information in the corresponding information from the JPEG file given by a file name.

Parameters

LPTSTR

lpFileName

Pointer to the file name string.

LPBITMAPINFOHEADER

lpBi

Pointer to a BITMAPINFOHEADER structure.

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

Returns TRUE on success, FALSE if failed.

Requirements

Header :     Declared in BiJpeg.h; include BiJpeg.h.

Library :    Use BiJpeg.lib.

DLLs :       BiJpeg.dll.