[android-developers] Nightmare loading mask bitmap

2011-05-13 Thread delta42
I need to load in a 24-bit PNG mask image into my Android, and it being a mask, I need it to come in exactly as it is on disk, with no resizing or pixel values changed. When I load it from resources using the BitmapFactory, its pixel values are slightly changed, as if it had been resized *twice*:

Re: [android-developers] Nightmare loading mask bitmap

2011-05-13 Thread Ralf Schneider
Your image is probably convert to 565 and the back to 24bits. This thread discusses a related problem: http://groups.google.com/group/android-developers/browse_thread/thread/e7ce1bec8f97a78b 2011/5/13 delta42 > I need to load in a 24-bit PNG mask image into my Android, and it > being a mask,