mirror of
https://github.com/koreader/koreader
synced 2024-11-18 03:25:46 +00:00
bb3f49a566
* The Great 8bpp Experiment Swap to 8bpp on Kobo, because we're 'effing grayscale, for pete's sake! * Always swap to 8bpp, no matter the launch method. Because it turned out that, even when restarting Nickel, we had to restore the expected bitdepth ourselves, because pickel/Nickel didn't do the job completely. (I'm going to guess the grayscale flag wasn't getting flipped properly). * Dither every non-transparent icon to the eInk palette * Make sure hasBGRFrameBuffer is only enabled when the Kobo fb actually is @ 32bpp... * Re-process badly grayscaled icons * And re-grayscale that one w/ gamma correction so the squares show up better. * Allow the fbdepth switch to be disabled (in Developer settings). Also, allow setting debug mode that way. Also, forcibly disable verbose logging when disabling debug. * Update setting name to piggyback on the existing check in reader.lua * Update icons postprocessing info
12 lines
488 B
Markdown
12 lines
488 B
Markdown
menu-icon.png is post-processed with:
|
|
|
|
```bash
|
|
convert menu-icon.png -grayscale Rec709Luma -dither Riemersma -remap eink_cmap.gif -quality 75 png:menu-icon-grayscale.png
|
|
```
|
|
|
|
The intent being to grayscale, dither down to the 16c eInk palette, and save as a 16c paletted grayscale PNG.
|
|
Start from an RGB copy of the image if you end up with a 256c or sRGB PNG (check via IM's identify tool).
|
|
|
|
See https://www.mobileread.com/forums/showpost.php?p=3728291&postcount=17 for more details ;).
|
|
|