Looks like about this small: EBAzMzMzMzMzMzMzMzMzMzMzM2MzM2NmMzMzZjMzNjMzMzNjM2MzMzMzM2MzYzMzMzMzYzNjYzYzMzNjM2M2YzMzM2MzYzMzNjMzYzNjMzM2MzNjMzM2YzMzM2MzM2M2MzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMzMw==
Yeahh… there could be more compression you could do if you had a limited color palette, for example limiting it to 8 colors would half the length of this code, but it would still be really long. 16 x 16 is 256, so that’s 256 pixels you need to store. What I did in my code made it so that each character in the base64 string represents 1.5 pixels (I think) which is pretty good but that still means a lot of data is needed to store 256 pixels! You could always make the image black and white if you really wanted the code to be only a few characters, and I can certainly write the code for you to do that if need be! :)
3 Likes
actually limiting to 8 colors would be 3 bpp instead of 4 bpp, so it would reduce the size by 25% rather than 50%
if you wanted half the memory for an image, you would want 2 bpp, which would be 4 colors!
3 Likes
Oops! Yeah that makes sense now that I think about it.
1 Like