iFlags

Flag that indicates which color channels to swap. Possible values are:

Value

Meaning

SWAP_RG

Swap the red and green channels. (Change red to green and green to red.)

SWAP_RB

Swap the red and blue channels. (Change red to blue and blue to red.)

SWAP_GB

Swap the green and blue channels. (Change green to blue and blue to green.)

SWAP_RGBR

Change red to green, green to blue and blue to red.

SWAP_RBGR

Change red to blue, blue to green and green to red.