L_GetJ2KOptions

#include "l_bitmap.h"

L_LTFIL_API L_INT 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 saving JP2 or J2K files.

Parameter

Description

pOptions

Pointer to a structure to be updated with the options used when saving 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 2000 / XP/Vista, Windows CE.

See Also

Functions:

L_SetJ2KOptions

Topics:

Raster Image Functions: Saving Files

 

Programming with JPEG 2000 Features

Example

For an example, refer to L_SetJ2KOptions.