atc1441 / E-Paper_Pricetags

GNU General Public License v3.0
228 stars 39 forks source link

Chroma74 displays picture inverted and without color #9

Open Hades32 opened 3 years ago

Hades32 commented 3 years ago

The test images work fine, but the images that I attached get rendered in black and white only and actually inversed (i.e. white instead of black and vice versa).

As the transmission is working fine, I'm not sure of this is an error in the display or this library...

data.zip

atc1441 commented 3 years ago

Thanks for the hint, it looks like this is a bug in the compression code.

As there is so much white in the first part the compression kinda fails. as the compression inverts color on every changed pixel but does not tracks it in general this result comes out.

if i make the first pixel black it works fine. not a good solution but good to know this bug exists my-bw.zip