How to detect the "first render" of a progressively loaded image in JavaScript?
Some file formats like jpeg and webp allow "progressive loading" where the file is encoded in a way such that a lower resolution version of the image can be rendered before the entire file has finished loading. However, the "onload"…