ios - What is the difference in size between a decoded and encoded image -


in safari web content guide there section entitled "known ios resource limits." in section warn:

the maximum size decoded gif, png, , tiff images 3 megapixels devices less 256 mb ram , 5 megapixels devices greater or equal 256 mb ram.

then go on note there large different in decoded vs encoded image sizes

note decoded size far larger encoded size of image.

so assume have .png image on hard drive says it's 2794 × 1859 = ~ 5,400,000 pixels (just under 5 megapixel limit) , file size of 5.4 mb. encoded size of image or decoded size of image? , how figure out other size is?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -