L_Jp2FreeFileInfo

#include "l_bitmap.h"

L_LTJP2_API L_INT EXT_FUNCTION L_Jp2FreeFileInfo(hJp2, pFileInfo)

L_HJP2 hJp2;

/* JPEG 2000 engine handle */

pL_JP2_FILEINFO pFileInfo;

/* pointer to a file info structure */

Frees and invalidates file info structure that has been allocated by L_Jp2GetFileInfo or L_Jp2GetFileInfoMemory functions.

Parameter

Description

hJp2

JPEG 2000 engine handle that was created by the L_Jp2Create function.

pFileInfo

Pointer to a file info structure to be freed.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

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:

L_Jp2GetFileInfo, L_Jp2GetFileInfoMemory

Topics:

Programming with JPEG 2000 Features
Raster Image Functions: Working with JPEG 2000

Example

For an example, refer to L_Jp2ExtractFrames.