L_JP2_COMPOSITION_BOX

typedef struct _tagL_JP2_COMPOSITION_BOX
{
   L_UINT32 uStructSize;
   L_JP2_COMPOPTIONS_BOX Options;
   L_JP2_INSTSET_BOXES   Instructions;
}L_JP2_COMPOSITION_BOX,   *pL_JP2_COMPOSITION_BOX;

The L_JP2_COMPOSITION_BOX structure provides information for Composition box.

Member

Description

uStructSize

Size of this structure, in bytes. Use the sizeof operator to calculate this value.

Options

Composition Options box. This box specifies the parameters that apply to the composition or animation as whole.

Instructions

Instruction Set boxes. These boxes contain a set of instructions for how to combine multiple composition layers in a file.

Comments

The Composition box specifies how individual composition layers are combined to create the rendered result. This box is defined in JPX and above file formats. A JPEG 2000 file may contain zero or one Composition box.

The L_JP2_COMPOSITION_BOX structure is used in the following functions:

LJp2FileFormat::ReadBox

LJp2FileFormat::AppendBoxes

LJp2FileFormat::ReadBoxMemory

LJp2FileFormat::AppendBoxesMemory

LJp2FileFormat::FreeBoxes

LJp2FileFormat::GetBoxes

LJp2FileFormat::SetBoxes