4 ms·
I was using BitmapFactory to decode resources and display bitmaps on the canvas. Then I was using getPixel to get colors off the bitmaps. I noticed that in 2.
by dpcan 16y ago
I was using BitmapFactory to decode resources and display bitmaps on the canvas. Then I was using getPixel to get colors off the bitmaps.
I noticed that in 2.2 my color values were all over the place.
I found out that I then had to use BitmapFactory.options to disable automatic dithering and resizing which must have been defaults prior to the 2.2 upgrade.
I hate when default values for any functions are changed in updates, and this is the one I ran across in the 2.2 update.