L_GetJ2KOptions

#include "l_bitmap.h"

L_INT EXT_FUNCTION L_GetJ2KOptions(pOptions, uStructSize)

pFILEJ2KOPTIONS pOptions;

/* pointer to a structure */

L_UINT uStructSize;

/* size of the structure */

Gets the file options used by LEADTOOLS when loading JP2 or J2K files.

Parameter

Description

pOptions

Pointer to a structure to be updated with the options used when loading JP2 or J2K files.

uStructSize

Size of the structure pointed to by pOptions.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

The options obtained by this function are valid for the current thread.

Required DLLs and Libraries

LTFIL

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

Windows 95 / 98 / Me, Windows 2000 / XP, Windows CE.

See Also

Functions:

L_SetJ2KOptions

Topics:

Raster Image Functions: Saving Files

 

Implementing JPEG 2000 Plug in Features

Example

For an example, refer to L_SetJ2KOptions.