ReadBrushPixel usage
Posted: Sun Mar 23, 2025 12:47 pm
How does the result from ReadBrushPixel and ReadPixel work?
The docs say it will give the result in RGB format, but the output I get does not look like that.
Example black color returns simply 0. white 16777215, 16701184 - yellow, 14423100 - red,
3978097 - green etc.
How to get these into a format where I can read the value 0-255 for each of R, G and B?
The docs say it will give the result in RGB format, but the output I get does not look like that.
Example black color returns simply 0. white 16777215, 16701184 - yellow, 14423100 - red,
3978097 - green etc.
How to get these into a format where I can read the value 0-255 for each of R, G and B?