Set the pixel index of a palettized image at position (x, y), including range check (slow access).
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static bool SetPixelIndex( FIBITMAP dib, uint x, uint y, ref byte value ) |
Visual Basic (Declaration) |
---|
Public Shared Function SetPixelIndex ( _ dib As FIBITMAP, _ x As UInteger, _ y As UInteger, _ ByRef value As Byte _ ) As Boolean |
Visual C++ |
---|
public: static bool SetPixelIndex( FIBITMAP dib, unsigned int x, unsigned int y, unsigned char% value ) |
Parameters
- dib
- Type: FreeImageAPI..::.FIBITMAP
Handle to a FreeImage bitmap.
- x
- Type: System..::.UInt32
Pixel position in horizontal direction.
- y
- Type: System..::.UInt32
Pixel position in vertical direction.
- value
- Type:
System..::.Byte
%
The new pixel index.