QOI Encoding in Zig

Gianni R@lemmy.ml to Programming@programming.dev – 24 points –
giannirosato.com
8

You are viewing a single comment

Wow, and you only started programming in October?! Nice work!

Interesting format. Wonder what applications make use of it.

I used it in a few microcontroller projects, let me get away with the cheaper 8 bit microcontroller with 64K of flash. The streaming decoding is real nice, because it can be read from flash and sent of to a display, without ever keeping it in ram. (4K!)

Huh wow. Super interesting. Probably a dumb question: could you use it for video, like motion jpeg (or MJPEG or however it's named)?

I don't think you could fit video on that microcontroller, even with the best compression. But some low memory and compute video compression for embedded devices would be nice.

That's super smart!

I don't know if writing a custom image compresson program and streaming graphics rendering code with worth saving a few bucks on parts.

It depends on volume. When you build 100 parts not really. But when you build millions it becomes worth it.

In automotive they fight over every cent.