..
2015-12-15 09:35:20 +03:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2016-01-29 18:52:38 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2016-01-29 18:52:38 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-07-19 23:22:50 +02:00
2015-07-19 23:22:50 +02:00
2015-07-19 23:22:50 +02:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-07-16 21:31:00 +02:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-02-01 17:27:19 +01:00
2015-07-19 23:22:50 +02:00
2016-09-20 23:59:23 +02:00

##U8glib package

Ported from https://github.com/olikraus/u8glib

Here is black magic with ImageMagic package for image conversion:

#!/bin/bash

mkdir out

for icon in *png; do
    convert $icon -depth 1 ./out/$(basename $icon .png)_1bpp.png
    if [[ "$icon" == *"black"* ]]; then
        convert ./out/$(basename $icon .png)_1bpp.png -background white -alpha Background ./out/$(basename $icon .png)_1bpp.xbm
    else
        convert ./out/$(basename $icon .png)_1bpp.png -background black -alpha Background ./out/$(basename $icon .png)_1bpp.xbm
    fi
    cat ./out/$(basename $icon .png)_1bpp.xbm | tr '\n' ' '  | tr -d " " |sed  -e s'#^.*{##g'  | sed s'#,}##' |sed s'/;//' | xxd -r -p > ./out/$(basename $icon .png).xbm.mono
done

rm out/*png out/*xbm

Convert all the png in the current folder and put resulting .mono to ./out

The convert binary is a part of ImageMagic package. You need to install it.

sudo apt-get install imagemagick

for Debian/Ubuntu.