dieren: high-resolution webp image alternatives
authorMischa POSLAWSKY <perl@shiar.org>
Sat, 16 Oct 2021 22:01:05 +0000 (00:01 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 25 Oct 2021 14:33:21 +0000 (16:33 +0200)
commitd93f65ecf4924bc5351568ba2fc70b87e45143f7
treef3bab05fbf070646b79009ec2771d6d087bb3da7
parentdcc8a72751585d4359ea945151fbd97f1288a41e
dieren: high-resolution webp image alternatives

Modern compression format allows for much higher quality at the same size,
enough for (1920px / 3 columns) or 2x DPR at previous 320px width, even then
with generally less visible artifacts than JPEG; in direct comparison only
pig (and its porpoise sibling) are significantly worse due to lost details.

Automatically served by Apache if advertised in client Accept header
(currently supported by 95% ie all modern browsers).
.htaccess
tools/mkimgthumb