RasterImage.GetPixel
RasterImage.GetPixel method
Gets an image pixel. Performance Warning: Avoid using this method to iterate over all image pixels as it can lead to significant performance issues. For more efficient pixel manipulation, use the LoadArgb32Pixels
method to retrieve the entire pixel array simultaneously.
public Color GetPixel(int x, int y)
Parameter | Type | Description |
---|---|---|
x | Int32 | The pixel x location. |
y | Int32 | The pixel y location. |
Return Value
The pixel color for the specified location.
See Also
- struct Color
- class RasterImage
- namespace Aspose.PSD
- assembly Aspose.PSD