News for hackers. Stuff that matters.
Re:iOS 4 Update Now Avaliable by dpcan on Thursday June 24, 2010 @11:39AM (#1458275)
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.

There are no comments on this comment yet.