Created
May 14, 2021 17:09
-
-
Save skrishnakanth/2542025d7a031fa6ab1f86b9e9df237f to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
convert $1 logo.bmp | |
convert logo.bmp +flip -strip -define bmp:subtype=RGB565 bmp2:- > logo_rgb565.bmp | |
tail -c 25600 logo_rgb565.bmp > logo.bin | |
rm logo.bmp logo_rgb565.bmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment