| synopsis || arguments || prev || next |
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"]
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.
A 16-byte array (128-bit number).
Length of the data array.
Data containing parameters required to complete the colour space definition identified by the uuid.