2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
koreader/resources/icons/README.md

24 lines
948 B
Markdown
Raw Normal View History

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 ;).
Zoom direction icons are generated from direction.LRBT.png with:
```bash
convert direction.LRBT.png -rotate 90 direction.TBLR.png
convert direction.LRBT.png -rotate 180 direction.RLTB.png
convert direction.LRBT.png -rotate -90 direction.BTRL.png
convert direction.BTRL.png -flop direction.BTLR.png
convert direction.LRBT.png -flop direction.RLBT.png
convert direction.RLTB.png -flop direction.LRTB.png
convert direction.TBLR.png -flop direction.TBRL.png
```