Img.src how is it stored in memory?

Morsolo

New Member
I was wondering about \[code\]image.src\[/code\] and how it is stored in browsers.Does it store an array of pixels ready to display on screen? And then that got me wondering why can we not access this pixel data \[code\]without\[/code\] drawing to a canvas and getting the pixel information that way? The image data must be stored in memory for the browser, so why can we not directly enquire a pixel of the image any other way than to draw it first?
 
Back
Top