5 ms·
Are there relayout issues I'm not aware of with images when you're using absolute positioning? I did some experiments a while ago with running jpgjs in a webwo
by peterhunt 13y ago
Are there relayout issues I'm not aware of with images when you're using absolute positioning?
I did some experiments a while ago with running jpgjs in a webworker and was able to get zero-jank images by splitting the copy to canvas across multiple requestAnimationFrames. However it adds a significant amount of latency and I'm not sure it's worth the trade off.
I am wondering, though, if one built a pipelined progressive jpeg downloaded/decoder/renderer with this technique if it would yield positive results.
- modeless 13y agoI don't think so, I just mentioned layout since it's something that can be triggered by image loading. I don't think progressive JPEG is worth the rendering overhead in general, but doing JPEG decoding in a JS worker is not as crazy as it sounds if you're serious about reducing jank.