Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.11.1
LEADTOOLS Raster Imaging C DLL Help

L_Jp2SetBoxes

Show in webframe

#include "l_bitmap.h"

L_LTJP2_API L_INT EXT_FUNCTION L_Jp2SetBoxes(hJp2, eBox, pBoxes, uNumOfBoxes)

L_HJP2 hJp2;

/* JPEG 2000 engine handle */

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

hJp2

JPEG 2000 engine handle that was created by the L_Jp2Create function.

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:

L_Jp2GetBoxes, L_Jp2AppendBoxes

Topics:

Programming with JPEG 2000 Features

`

Programming with JPX Features

 

Raster Image Functions: Working with JPEG 2000

 

Raster Image Functions: Working with JPX

Example

For an example, refer to L_Jp2Save.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.