| synopsis || return value || arguments || prev || next |

kdu_channel_mapping::configure

Java: Kdu_channel_mapping::Configure

Overload navigation: 1, 2, 3

bool configure( jp2_source * jp2_in, bool ignore_alpha)

Java: boolean Configure( Jp2_source jp2_in, boolean ignore_alpha)

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

Go to class description.


Synopsis

Simplified interface to the second form of the configure function above, based on a simple JP2 data source. Automatically invokes add_alpha_to_configuration if ignore_alpha is false.


Return Value

All versions of this overloaded function return true if successful. This version always returns true. If an error occurs, or the colour space cannot be converted, it generates an error through kdu_error rather than returning false. If you would like the function to return false when the colour space cannot be rendered, use the second form of the configure function instead.

Arguments

jp2_in [jp2_source *]

ignore_alpha [bool]


| top || synopsis || return value || arguments || prev || next |