Comment on Tuesday SOTD Thread - October 24, 2023

<- View Parent
HomeAwayFromHone@sub.wetshaving.social ⁨8⁩ ⁨months⁩ ago

Just poked around because I was curious, it does look like the config for pict-rs lets you specify a format to convert things to and a max size/quality: git.asonix.dog/asonix/pict-rs/src/…/pict-rs.toml#…

I’d suggest WebP with a quality of 85 and max dimensions of 3840x3840 (because 4k is 3840x2160).

That takes djundjila’s photo for today (a 4236x2677 jpeg) from 1.9Mb down to 360Kb for a 3840x2427 WebP.

You might also consider AVIF as that’s widely supported as well and looking like it’ll probably become the new standard but for now is a bit CPU intensive until CPUs start adding SIMD for it. Too bad JPEGXL lost momentum, it was kinda better (and less CPU intensive). But if the server doesn’t mind chewing on it …that same SotD as a quality 66 AVIF is just 160Kb, eg. less than a tenth the size.

For more info about quality settings: industrialempathy.com/…/avif-webp-quality-setting…

source
Sort:hotnewtop