开发者

What is the internal format of UIImage?

开发者 https://www.devze.com 2023-03-27 20:40 出处:网络
for ipad e.g. for pixel size 10x10 image, how much memory is used? provide some other contribution: usually for a normal iPad, it start w开发者_如何学Pythonith app-usable memory of 190-200mb

for ipad

e.g. for pixel size 10x10 image, how much memory is used?

provide some other contribution: usually for a normal iPad, it start w开发者_如何学Pythonith app-usable memory of 190-200mb this number decrease if background process / other apps is running

many thanks!~~~


10 x 10 x 4 = 400bytes for that image, so it's 4 bytes per pixel. (GRBA).

Also it is normal for background app to take some memory. iOS will free memory if needed by any app.

0

精彩评论

暂无评论...
验证码 换一张
取 消