2025-07-28 # Lizard Gallery
Today I caught a lizard. It's a small thing, but the pictures turned out well. I frequently optimize my images before sharing them. In the past, I've used optimized PNG (compressed with oxipng), or when the image was meant to be lossy, I've used the WEBP format (compressed with cwebp). I decided to try out the AVIF format today, hopefully your browser can display it. It's a neat, modern image format, based on AV1 and HEIF. To compress these images, I first blurred out regions (reducing entropy that I didn't need), then downscaled the images (minimal resolution), then ran the following command:
avifenc -s 0 -q 75..100 -j 1 --tilerowslog2 0 --tilecolslog2 0 -y 420 -d 8 -r l input.png output.avif



