ImageGearJava Project > com.accusoft.imagegear.processing Package > ImGearRasterProcessing Class : removeChannel Method |
channelNumber
can be within the [0..getChannelCount-1]
range.
Color Space is changed as follows:
page
has more than one Extra channel, color space is unchanged.
page
has one Extra channel, ExtraMask is cleared.
page
has Alpha channel and no Extra channels, AlphaMask and PremultAlphaMask are cleared.
page
has only color channels, color space is changed to Unknown, and all remaining channels are considered Extra channels. public static void removeChannel( ImGearRasterPage page, int channelNumber ) |
channelNumber
can be within the [0..getChannelCount-1]
range.
Color Space is changed as follows:
page
has more than one Extra channel, color space is unchanged.
page
has one Extra channel, ExtraMask is cleared.
page
has Alpha channel and no Extra channels, AlphaMask and PremultAlphaMask are cleared.
page
has only color channels, color space is changed to Unknown, and all remaining channels are considered Extra channels.