Hi guys,
Just wondering how I'd go about getting the individual Red, Green and Blue values from the ReadPixel() returned 32 bit value?
The idea I've been playing with is loading an image, locking it, getting the top left pixel value and then extracting the RGB values from that to set the mask colour. Releasing the image then loading it again with the right mask colour set.
Any ideas?
Just wondering how I'd go about getting the individual Red, Green and Blue values from the ReadPixel() returned 32 bit value?
The idea I've been playing with is loading an image, locking it, getting the top left pixel value and then extracting the RGB values from that to set the mask colour. Releasing the image then loading it again with the right mask colour set.
Any ideas?