LJp2FileFormat::SetBoxes

#include "ltwrappr.h"

L_INT LJp2FileFormat::SetBoxes(eBox, pBoxes, uNumOfBoxes)

eJP2BOXTYPE eBox;

/* type of the boxes */

L_VOID * pBoxes;

/* pointer to the boxes */

L_UINT uNumOfBoxes;

/* number of boxes */

Sets JPEG 2000 engines boxes of type eBox.

Parameter

Description

eBox

The type of the boxes to be set.

pBoxes

Pointer to an array of boxes of type eBox to be set.

uNumOfBoxes

Number of boxes to be set. This value must not exceed the size of the pBoxes array.

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:

LJp2FileFormat::GetBoxes, LJp2FileFormat::AppendBoxes

Topics:

Implementing JPEG 2000 Features

 

Raster Image Functions: Working with JPEG 2000

 

Programming with JPX Features

 

JPX File Comments

 

Raster Image Functions: Working with JPX

Example

For an example, refer to LJp2FileFormat::Save.