This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This Gist confirms the Linked Identity in my OpenPGP key, and links it to this GitHub account. | |
Token for proof: | |
[Verifying my OpenPGP key: openpgp4fpr:9d393d50269a6acef9a0dafd41595ad185aa2118] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Convert a PNG image to a raw file for flashing to a Motorola Atrix. | |
I've not tested it with all types of input, only 24-bit RGB, | |
16-bit greyscale, and 48-bit RGB for now. | |
Theoretically handles any sized input now, so other devices might work too? | |
Also dithers using Floyd-Steinberg error diffusion. | |
Output goes to standard out, so pipe it to a file. |
NewerOlder