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 Support for Bitmap-Output #122

Open
DerPicknicker opened this issue Apr 20, 2024 · 3 comments
Open

Add Support for Bitmap-Output #122

DerPicknicker opened this issue Apr 20, 2024 · 3 comments

Comments

@DerPicknicker
Copy link

Hi,

it would be great if the docker container supports .bmp Files as an output. This would help to use cheap esp32 devices. Because the popular libraries doesn't support jpg the conversion is memory intensive and the esp32 is not powerful enough to handle that.

I did a small research and your used library for creating the jpg files is also capable to create the bmp.

Would be a nice addition for this project.

@sibbl
Copy link
Owner

sibbl commented Apr 20, 2024

Hey,

could you please provide which libraries and devices the output should be compatible for? If there are more details on which bmp requirements to follow it shouldn't be that much work to add this.

Thanks in advance!

@DerPicknicker
Copy link
Author

Hey @sibbl ,

thank you for the fast response. The main goal would be that I can use this great docker container to send images to ESP32 devices.

See this library : https://github.com/ZinggJM/GxEPD2/tree/master

It supports drawing from HTTP(S) but the file must be encoded as an Bitmap. Because the esp32 is limited by its ram so you can't store both / convert it locally.

Here is an example: https://github.com/ZinggJM/GxEPD2/blob/master/examples/GxEPD2_WiFi_Example/GxEPD2_WiFi_Example.ino

@CptWindows
Copy link

Hi, I would also be interested in a Bitmap output, as you can easily display it on an E-INK display using the library linked by @DerPicknicker .
By the way, it looks like ImageMagick supports a BMP output, which would probably make the whole thing easier to implement?

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

3 participants