LFileSettings::GetJ2KOptions

#include "ltwrappr.h"

static L_INT LFileSettings::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. Use the sizeof() macro to calculate this value.

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
File format DLLs

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:

LFileSettings::SetJ2KOptions, LFileSettings::GetDefaultJ2KOptions, Class Members

Topics:

Raster Image Functions: Saving Files

 

Programming with JPEG 2000 Features

Example

For an example, refer to LFileSettings::SetJ2KOptions.