FreeImage.NET Class Library Reference
FreeImageBitmapSwapPaletteIndices Method |
Swaps two specified palette indices on a 1-, 4- or 8-bit palletized image.
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public uint SwapPaletteIndices( byte index_a, byte index_b )
Parameters
- index_a
- Type: SystemByte
One of the two palette indices to be swapped. - index_b
- Type: SystemByte
The other of the two palette indices to be swapped.
Return Value
Type: UInt32The total number of pixels changed.
See Also