How to determine / calculate the byte size of a bitmap (after decoding with BitmapFactory)? I need to know how much memory it takes, because I do caching / memory management in my application. (file size is insufficient, as these are jpg / png files)
Thanks for any solutions!
Update: getRowBytes * getHeight can do the trick. I implement it that way until someone comes up with something against him.
android bitmap
user289463 Mar 09 '10 at 8:30 2010-03-09 08:30
source share