As the title says... Chat on...

User avatar
By thk4711
#15792 Hi,

the u8g works very well but I have one problem. How do I create a new xbm file. I have tried GIMP but the files created by GIMP are not displayed correctly. Is there a special tool to do that ?

Thomas
User avatar
By cal
#16168
thk4711 wrote:Hi,

the u8g works very well but I have one problem. How do I create a new xbm file. I have tried GIMP but the files created by GIMP are not displayed correctly. Is there a special tool to do that ?

Thomas


Moin,

isn't xbm the text based image format? If it is you may take a text editor to look into it and find out why your gimp created
files fail.

Good luck,
Cal
User avatar
By devsaurus
#17548 There's a conversion step required before XBM can be used. It's mentioned in the README.md (still in dev branch):
In contrast to the source code based inclusion of XBMs into u8glib, it's required to provide precompiled binary files. This can be performed online with Online-Utility's Image Converter: Convert from XBM to MONO format and upload the binary result with nodemcu-uploader.py.

Hope this helps.