IXC_SwapChannels Enumeration

From PDF XChange PDF SDK
Revision as of 07:27, 7 May 2015 by Oliynykd (Talk | contribs)

Jump to: navigation, search


Specifies the direction of color channel swapping.

Syntax

enum IXC_SwapChannels
{
    SwapChannels_RGB2RGB = 0;
    SwapChannels_RGB2RBG = 1;
    SwapChannels_RGB2BGR = 2;
    SwapChannels_RGB2BRG = 3;
    SwapChannels_RGB2GRB = 4;
    SwapChannels_RGB2GBR = 5;
};

Constants

SwapChannels_RGB2RGB
This is a dummy operation, because Red channel will be swapped with Red channel, B -> B, G -> G.
SwapChannels_RGB2RBG
Green and Blue channels will be exchanged: G <-> B.
SwapChannels_RGB2BGR
Blue and Red channels will be exchanged: B <-> R.
SwapChannels_RGB2BRG
The following operation will performed: B -> R; R -> G; G -> B.
SwapChannels_RGB2GRB
Red and Green channels will be exchanged: R <-> G.
SwapChannels_RGB2GBR
The following operation will performed: G -> R; B -> G; G -> R.

See Also

See also ...