How to calculate RAM usage of a image when decoded -


how can determine ammount of ram used image when loaded?

for standard think image size on ram width * height * pixel_format, pixel_format rgb (3 bits) or argb (4 bits)

but calc, 64*64(argb) image have 2mb of memory usage, i'm pretty sure wrong result.

is decoded image loaded compressed image , decompressed drawing/drawed compressed through decompressers algorithms?


Comments

Popular posts from this blog

PHP DOM loadHTML() method unusual warning -

python - How to create jsonb index using GIN on SQLAlchemy? -

c# - TransactionScope not rolling back although no complete() is called -