Hi, your E-Ink tutorials, e.g. https://learn.adafruit.com/adafruit-cir ... ng-bitmaps contain bitmap images, e.g. https://cdn-learn.adafruit.com/assets/a ... 1614110318 that work well with Tri-Color E-Ink displays like https://www.adafruit.com/product/4869
However, if I open the same bitmap on MacOS, modify it (e.g. flip horizontally), and save it again, the resulting bitmap cannot be displayed. I checked the image size, resolution and depth. Is there another image attribute that could be different? One thing that seems odd is the file size, the original is 120 KB, the copy is 160 KB.
Kind regards,
Thomas
How to prepare Bitmaps for Tri-Color E-Ink Displays?
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
- tamberg
- Posts: 31
- Joined: Wed May 07, 2014 1:09 pm
- rpiloverbd
- Posts: 198
- Joined: Mon Nov 29, 2021 8:13 am
Re: How to prepare Bitmaps for Tri-Color E-Ink Displays?
Hello, For monochrome e-paper display, I used image2LCD. It had options for coloured displays also. Is it of any help to you? https://www.waveshare.com/wiki/File:Image2Lcd.7z
- tamberg
- Posts: 31
- Joined: Wed May 07, 2014 1:09 pm
Re: How to prepare Bitmaps for Tri-Color E-Ink Displays?
Thanks. Got it to work on MacOS using imagemagick as described in https://learn.adafruit.com/preparing-gr ... mmand-line but with -compress None BMP3, e.g.
Code: Select all
$ convert input_200x200.jpg -dither FloydSteinberg -define dither:diffusion-amount=85% -remap eink___epaper_eink-3color.png -compress None BMP3:output_200x200.bmp
- sipan1313
- Posts: 18
- Joined: Sun Jan 30, 2022 4:37 pm
Re: How to prepare Bitmaps for Tri-Color E-Ink Displays?
hello
Because E-ink displays typically offer just a few shades, 1- or 4-bit output would normally be ideal. But due to the library constraints above, sometimes it’s necessary to use 24-bit output regardless.
so try to Convert With ImageMagick
Because E-ink displays typically offer just a few shades, 1- or 4-bit output would normally be ideal. But due to the library constraints above, sometimes it’s necessary to use 24-bit output regardless.
so try to Convert With ImageMagick
Please be positive and constructive with your questions and comments.