24
QOI Encoding in Zig
(giannirosato.com)
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Follow the wormhole through a path of communities !webdev@programming.dev
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.
Well, that's for you to decide.
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.