javl / image2cpp

GNU General Public License v3.0
529 stars 156 forks source link

added Xbm format #43

Closed cervelas closed 3 years ago

cervelas commented 3 years ago

Holà, This is a quick one.

At first i wanted to make the tool myself, but i found this repo, and i think it's neat to make it in Javascript. But there is only Big-Endian output, i wanted to export in Xbm format (horizontal 1bit, but little indian), to make this working on my Heltec Esp32 dev kit.

After that i noticed a lot of issues related to scrambled images, so i make this pull request for others guys to try ! I also noticed that the code need a refresh, i may clean some things up if you will...

cervelas commented 3 years ago

OUps

javl commented 1 year ago

This is a very old PR, but I was wondering if there was a specific reason you closed this PR and it never got merged? Also, at some point a 'swap bits in byte' option was added and I wonder if that has the same result.