FreeImageBitmap.GetPixel Method

FreeImage.NET

FreeImageBitmapGetPixel Method
Gets the Color of the specified pixel in this FreeImageBitmap.

Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
C#
public Color GetPixel(
	int x,
	int y
)

Parameters

x
Type: SystemInt32
The x-coordinate of the pixel to retrieve.
y
Type: SystemInt32
The y-coordinate of the pixel to retrieve.

Return Value

Type: Color
A Color structure that represents the color of the specified pixel.
Exceptions
ExceptionCondition
ExceptionThe operation failed.
NotSupportedExceptionThe type of this bitmap is not supported.
See Also