Skip to content

Conversation

@someone42
Copy link

I've implemented a lossless encoder/decoder for images, using Huffman compression. This may offer you greater freedom in what GUI elements you want to include. Huffman compression offers good space/time properties: GUI images tend to compress well as they consist mostly of a few colors, and the decoder only requires ~ 1 table lookup + a bunch of shifts/ands per pixel.

I've also implemented 5-bit alpha blending, which can be combined with the Huffman decoder to display GUI elements with curved, anti-aliased edges:
example

These commits have been tested successfully

in a local test harness, but not on actual arducorder mini hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant