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

jp2_colour::init

Java: Jp2_colour::Init

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

void init( jp2_colour_space space)

Java: void Init( int space)

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

Go to class description.


Synopsis

Initializes the internal colour object with one of the enumerated colour spaces identified by space. It is illegal to call this function unless there is an internal object ( exists must return true) and that object has not yet been initialized.

To specify a JP2_CIELab_SPACE or JP2_CIEJab_SPACE with anything other than the default parameters, use the second form of this overloaded function.

To specify a colour space via an embedded ICC profile, use the third form of this overloaded function.

To specify a vendor-specific colour space, use the fourth form of this overloaded function.


Arguments

space [jp2_colour_space]

Must be one of the following (JP2/JPX enumerated colour space codes are also given to resolve any possible lack of clarity for those who have copies of the standards documents):


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