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

jp2_channels::init

Java: Jp2_channels::Init

void init( int num_colours)

Java: void Init( int num_colours)

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

Go to class description.


Synopsis

Initializes the internal object for use with the indicated number of colour channels. 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 complete the initialization process, use the set_colour_mapping, set_opacity_mapping and set_premult_mapping functions.


Arguments

num_colours [int]

The number of colours must agree with the colour space described by the associated jp2_colour object.


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