On Wednesday, April 11, 2012 8:30:41 AM UTC-7, Brian wrote:
I did eventually figure out how to pre-allocate a Bitmap. After looking
at the documentation more closely.
I realize you can create a ByteArray, and the BitmapFactory has option for
using a ByteArray to store the bitmap,
I did eventually figure out how to pre-allocate a Bitmap. After looking at
the documentation more closely.
I realize you can create a ByteArray, and the BitmapFactory has option for
using a ByteArray to store the bitmap, instead of allocating its own memory.
You can then reuse ByteArray for
bump
On Sep 27, 5:58 pm, Brian zootsuitbr...@gmail.com wrote:
and how would I reload them with the contents of png from the SD card?
On Sep 27, 4:31 pm, Yahel kaye...@gmail.com wrote:
Hello is there any way to pre allocate the memory required for a
bitmap. Android's memory model
Hello is there any way to pre allocate the memory required for a
bitmap. Android's memory model is making it very difficult for me to
cache images I need to cache.
You can simply create your bitmaps using one of the various :
Bitmap.createBitmap
and how would I reload them with the contents of png from the SD card?
On Sep 27, 4:31 pm, Yahel kaye...@gmail.com wrote:
Hello is there any way to pre allocate the memory required for a
bitmap. Android's memory model is making it very difficult for me to
cache images I need to cache.
5 matches
Mail list logo