FreeImage.SetPixelColor Method

FreeImage.NET

FreeImageSetPixelColor Method
Set the pixel color of a 16-, 24- or 32-bit image at position (x, y), including range check (slow access).

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public static bool SetPixelColor(
	FIBITMAP dib,
	uint x,
	uint y,
	ref RGBQUAD value
)

Parameters

dib
Type: FreeImageAPIFIBITMAP
Handle to a FreeImage bitmap.
x
Type: SystemUInt32
Pixel position in horizontal direction.
y
Type: SystemUInt32
Pixel position in vertical direction.
value
Type: FreeImageAPIRGBQUAD
The new pixel color.

Return Value

Type: Boolean
Returns true on success, false on failure.
See Also