News for hackers. Stuff that matters.
Re:Chromium: Add support for Animated PNG by futurix on Tuesday March 14, 2017 @08:27PM (#13872851)
Structure of animated GIFs is odd - you pretty much have to read entire file to animate it correctly; hence the inefficiencies.
Re:Chromium: Add support for Animated PNG by zulln on Tuesday March 14, 2017 @08:46PM (#13872932)
That is true, but after being rendered once it could be cached locally in some other way if that is believed lead to better performance.
Re:Chromium: Add support for Animated PNG by mnutt on Wednesday March 15, 2017 @10:20AM (#13876256)
Why do you say that? All of the metadata is at the beginning, followed by sequential frames.
Re:Chromium: Add support for Animated PNG by futurix on Wednesday March 15, 2017 @11:30AM (#13876761)
The frame data is incomplete with no keyframes - if you want to do a fairly typical memory conservation technique where after user switched away from the browser tab, you pause a GIF, unload it from memory, and then need to reload it from the same frame when user switched back - you will need to replay entire GIF to that frame.