Protip: Do not use progressive JPEGs to save disk space or network transmission speed. If you want progressive loading, ok, but otherwise, progressive jpegs require disproportionate amounts of CPU effort to decode vs. the savings. E.g. on mobile you're paying with power.
-
-
Replying to @nothings @antumbral
Same with PNGs and interlacing. Also, a lot of what optipng does really negatively affects the CPU time. e.g. Paeth filtering is probably upwards of 30 cycles/pixel in libpng.
2 replies 2 retweets 5 likes -
oh man i never thought about the comparative cost of the different png filters. i wonder how much Gzip vs Brotli factors in here, for that matter... like if people are just applying brotli to all their files on server, even png and jpeg, how much power does that waste
2 replies 0 retweets 1 like
Replying to @antumbral @nothings
libpng still doesn’t have SIMD code for defiltering on x86, amazingly :(
6:26 PM - 4 Mar 2019
0 replies
0 retweets
3 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.