cabi documentation needs to include height limitation
unwiredben opened this issue · 3 comments
unwiredben commented
I was trying to figure out why some of the bitmaps I'd tried to compress didn't work correctly, and found the note at the bottom of https://github.com/Team-ARG-Museum/drawCompressed -- bitmaps that aren't a multiple of 8 pixels in height won't be compressed properly. I think this should be called out on the cabi readme page or the code should be fixed to automatically pad heights to the next mulitple of 8 since drawCompressed will ignore writing of zero bits anyway.
MLXXXp commented
Thanks.
I'll update the documentation for Cabi and also the drawCompressed() function with notes to that effect.
MLXXXp commented
I'll also modify the code to output an error and abort if the height of the bitmap isn't a multiple of 8.