Comment 2 for bug 767567

Revision history for this message
pjv (pjv) wrote :

Solved the first one by recycling bitmaps.

Solved the second by in one place using an advanced bitmap opening technique which lets the BitmapFactory prescale the image (but needs to look at the bitmap twice, one time beforehand to give me the bounds so I can calculate the sample ratio). Both MediaStore.Images.Media.getBitmap() and MediaStore.Images.Thumbnails.getThumbnail() were insufficient, though this method is still technically equivalent to getBitmap(), with the added sampling.