How are projects saved into PNG files?

I know my next project : )

1 Like

we do the same thing in reverse, basically! loop over all of the pixels, convert into the RGB channels, read the bottom 4 bits of each channel and combine them together to reconstruct the project.

i don’t know if this code will be terribly useful to you because it’s pretty hard to read and involves a lot of bit twiddling, but the encode and decode code is here for reference:

3 Likes

thanks, it’s always fun to learn how these systems work!

2 Likes