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

kdu_channel_mapping::set_num_channels

Java: Kdu_channel_mapping::Set_num_channels

void set_num_channels( int num)

Java: void Set_num_channels( int num)

[Declared in "../apps/support/kdu_region_decompressor.h"]

Go to class description.


Synopsis

Convenience function for allocating the source_components and palette arrays required to hold the channel properties. Also sets the num_channels member. Copies any existing channel data, so that you can build up a channel description progressively by calling this function multiple times. Initializes all new source_components entries to -1 and all new palette entries to NULL.


Arguments

num [int]


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