mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-04 14:47:37 +03:00
Transparent pixels in PNGs were being rendered incorrectly because alpha was ignored. This fix alpha-blends all pixel types with white (255) for proper e-ink display: - Indexed PNGs with tRNS chunk (alpha at palette[768+index]) - RGBA PNGs (alpha from 4th byte) - Gray+Alpha PNGs (alpha from 2nd byte) |
||
|---|---|---|
| .. | ||
| Epub | ||
| Epub.cpp | ||
| Epub.h | ||