daschr/pico-ssd1306

Conversion from BMP to image.h format

mytechnotalent opened this issue · 1 comments

What tool did you use to convert the BMP image to image.h format? What would be the steps to convert ones own image? In addition does your image function allow for only a partial image to be painted or must it be the entire screen? It would be nice to allow say a 20x20 image to be painted at x=25, y=30 for example.

bin2c, I've added a description in the README.
You can use the ssd1306_bmp_show_image_with_offset function for displaying an image with an offset.
Displaying only a part of an image or clipping it is currently not supported. If this is needed, I would add support for it.
Feel free to reopen the issue if something is unclear.

Cheers,

David