LJp2FileFormat::GetFileInfo

#include "ltwrappr.h"

L_INT LJp2FileFormat::GetFileInfo(pszFile, pFileInfo)

L_TCHAR * pszFile;

/* JPEG 2000 file name*/

pL_JP2_FILEINFO pFileInfo;

/* pointer to a file info structure */

Gets information about the specified file and fills the specified L_JP2_FILEINFO structure with the information.

Parameter

Description

pszFile

Character string that contains the name of the JPEG 2000 file.

pFileInfo

Pointer to the L_JP2_FILEINFO structure to be filled with the information

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

LJp2FileFormat::GetFileInfo gets information about the specified file and fills the specified L_JP2_FILEINFO structure with the information. You must free this structure by calling the LJp2FileFormat::FreeFileInfo function. All of the engines boxes will be reset.

Required DLLs and Libraries

LTJP2
LFJ2K
LTIMGEFX

For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application.

Platforms

Win32, x64.

See Also

Functions:

LJp2FileFormat::FreeFileInfo, LJp2FileFormat::GetFileInfoMemory, LJp2FileFormat::ReadBox, LJp2FileFormat::ReadFrames

Topics:

Implementing JPEG 2000 Features

 

Raster Image Functions: Working with JPEG 2000

 

Programming with JPX Features

 

JPX File Comments

 

Raster Image Functions: Working with JPX

Example

For an example, refer to LJp2FileFormat::ReadBox.