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

Add drawPngFromBuffer #210

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

chrisjtwomey
Copy link

@chrisjtwomey chrisjtwomey commented Jul 5, 2023

Noticed the library has methods to draw bmp and jpg from buffer but not png, so I added it.

Tried it on my Inkplate10 (v1) and behaves identically to drawPngFromWeb

Personally I need a function like this as I download png data using a custom function (need to also read HTTP headers) and needed a way to write to the display without drawing again from a URL or SD card.

@chrisjtwomey chrisjtwomey changed the base branch from master to dev July 6, 2023 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant