#!/usr/bin/env python # -*- coding: utf-8 -*- # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4 # 128x64 # convert gnaa.png +dither -monochrome -colors 2 image.bmp from PIL import Image import sys #import zlib invert = 0 def set_bit(value, bit): return value | (1<