Image Data Redux
Monkey Forums/Monkey Programming/Image Data Redux
| ||
D'oh. It had to mess up somewhere. After what seemed like a perfect method was seemingly working all around, out crawled the flaws. It seems that certain Android devices with 16bit screens will mess with image data on the fly. Your 32/24-bit values become 16-bit ones, and annoyingly, the method of generating the 16 bit numbers differs between various devices. It's a minefield of chaotic sillyness... I can load the image, I can draw the image to the buffer, I can read the pixels from the buffer, but by this point the conversion's already happened and I'm left with mangled pixel data. Is there a simple method to read pixels straight from the image that's already loaded, without having the buffer interfere with it? And I'm after an all-in-one Monkey based solution, here. All targets, keep it simple. I'm thinking this isn't going to be easy.. :/ |
| ||
Use 8-bit images? |