Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversion from BMP to image.h format #5

Closed
mytechnotalent opened this issue Sep 18, 2022 · 1 comment
Closed

Conversion from BMP to image.h format #5

mytechnotalent opened this issue Sep 18, 2022 · 1 comment

Comments

@mytechnotalent
Copy link

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.

@daschr
Copy link
Owner

daschr commented Sep 20, 2022

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

@daschr daschr closed this as completed Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants