I understand how to use ReadPixel. However, I don't understand the value it returns. I'm getting seemingly random numbers when I run it, like in the range of negative thousands.
Anyway, I'm wondering how I can convert the value ReadPixel returns into a standard RGB value, and then how to convert it back to a value that WritePixel consumes.
Thanks!
Anyway, I'm wondering how I can convert the value ReadPixel returns into a standard RGB value, and then how to convert it back to a value that WritePixel consumes.
Thanks!