Set the pixel color of a 16-, 24- or 32-bit image at position (x, y), including range check (slow access).
Namespace:
FreeImageAPIAssembly: FreeImageNET (in FreeImageNET.dll)
Syntax
C# |
---|
public static bool SetPixelColor( FIBITMAP dib, uint x, uint y, ref RGBQUAD value ) |
Visual Basic (Declaration) |
---|
Public Shared Function SetPixelColor ( _ dib As FIBITMAP, _ x As UInteger, _ y As UInteger, _ ByRef value As RGBQUAD _ ) As Boolean |
Visual C++ |
---|
public: static bool SetPixelColor( FIBITMAP dib, unsigned int x, unsigned int y, RGBQUAD% 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:
FreeImageAPI..::.RGBQUAD
%
The new pixel color.