ImageGear for Java
removeChannel Method
Page to remove channel.
Position of the channel to be removed.

channelNumber can be within the [0..getChannelCount-1] range.

Color Space is changed as follows:

com.accusoft.imagegear.core.ImGearRasterPage

Removes the specified channel from the page's DIB and shifts remaining channels without transforming pixel data.
Syntax
public static void removeChannel( 
   ImGearRasterPage page,
   int channelNumber
)

Parameters

page
Page to remove channel.
channelNumber
Position of the channel to be removed.

channelNumber can be within the [0..getChannelCount-1] range.

Color Space is changed as follows:

  • If page has more than one Extra channel, color space is unchanged.
  • If page has one Extra channel, ExtraMask is cleared.
  • If page has Alpha channel and no Extra channels, AlphaMask and PremultAlphaMask are cleared.
  • If page has only color channels, color space is changed to Unknown, and all remaining channels are considered Extra channels.

com.accusoft.imagegear.core.ImGearRasterPage

See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback