Struct ProvinceMapProcessor.BMPPixelDataWrapper
Wrapper for pixel data access (supports both BMP and PNG)
public struct ProvinceMapProcessor.BMPPixelDataWrapper
Methods
TryGetPixelRGB(int, int, out byte, out byte, out byte)
Try to get RGB values at pixel coordinates
public bool TryGetPixelRGB(int x, int y, out byte r, out byte g, out byte b)
Parameters
xintyintrbytegbytebbyte
Returns
- bool