Comment
Comment by phillipseamore
Image optimization is crucial for the transmission of the image but once the browser has decoded the image, and this is an educated guess, it lives in memory for the rendering process as rgb(a) which you can calculate as (4 [for 16-bit] * width * height) bits.