L_GetJBIG2Options

#include "l_bitmap.h"

L_LTFIL_API L_INT L_GetJBIG2Options(pOptions, uStructSize)

pFILEJBIG2OPTIONS pOptions;

/* pointer to a FILEJBIG2OPTIONS structure */

L_UINT uStructSize;

/* size in bytes, of the structure pointed to by pOptions */

Gets the file options used by LEADTOOLS for saving JBIG2 files.

Parameter

Description

pOptions

Pointer to the FILEJBIG2OPTIONS structure to be updated with the options used for saving JBIG2 files.

uStructSize

Size in bytes, of the structure pointed to by pOptions, for versioning. Use sizeof(FILEJBIG2OPTIONS).

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, Mobile.

See Also

Functions:

L_SetJBIG2Options

Topics:

Raster Image Functions: Saving Files

 

Loading and Saving Images

Example

For an example, refer to L_SetJBIG2Options.