| synopsis || arguments || prev || next |

jp2_colour::init

Java: Jp2_colour::Init

Overload navigation: 1, 2, 3, 4, 5, 6

void init( kdu_byte uuid[], int data_bytes, kdu_byte data[])

Java: void Init( byte[] uuid, int data_bytes, byte[] data)

[Declared in "../apps/compressed_io/jp2.h"]

Go to class description.


Synopsis

Initializes the jp2_colour object to hold a vendor-specific description of the colour space. The vendor specific colour space is identified by a 16-byte (128-bit) UUID, plus an optional array of parameters. When constructing defintions for vendor-specific colour spaces, developers would do well to avoid the mistakes described above in connection with the JP2_CIELab_SPACE and JP2_CIEJab_SPACE definitions. Specifically you should try to create definitions which are self-contained and do not inherently rely upon knowledge of the bit-depth at which the component samples are represented. It is always possible to do this.


Arguments

uuid[] [kdu_byte]

A 16-byte array (128-bit number).

data_bytes [int]

Length of the data array.

data[] [kdu_byte]

Data containing parameters required to complete the colour space definition identified by the uuid.


| top || synopsis || arguments || prev || next |