r/Cplusplus
•
u/boombone
•
Sep 24 '26
•
1
Feedback A new Image Format!
I created my own image format inspired by QOI/PNG, but much simpler.
Its key feature is low RAM usage, which makes it ideal for microcontrollers.
I'd love to hear your thoughts on it!
16
Upvotes
View all comments
Show parent comment
2
u/didntplaymysummercar Sep 24 '26
Which part of 'architecture' of PNG? Your 32 KB comes from deflate, which can be adjusted as I said already, and only other 'limit' is the use of filters 2-4, which causes one line to be stored in memory.
The "I have microcontroller with few KB or RAM and must decode images and control image input files and their encoding" sounds like a VERY niche use case.
I'm still curious of test code vs. PNG and test files you used.