0xd34df00d.me - Recent posts — 32417370015

Example domain paragraphs

Recent posts Haskell is quite OK for images: encoding QOI January 29, 2022 // haskell , performance Last time we’ve looked at writing a decoder for the QOI format . Today, we’ll look at the inverse: encoding QOI images and all that it entails.

Like the last time, this post describes both the final result and the road there. So, there will be lots of code and lots of diffs, beware!

I’ve recently come across the new “Quite OK Image” format — a fast lossless image compression algorithm. It’s a very straightforward algorithm that’s a pleasure to work with, so, naturally, I got curious what would be the performance of a Haskell implementation if:

Links to 0xd34df00d.me (1)