https://github.com/otherguy/pixelartframe
https://github.com/otherguy/pixelartframe
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/otherguy/pixelartframe
- Owner: otherguy
- License: mit
- Created: 2020-11-24T22:55:23.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-09-06T11:02:05.000Z (almost 3 years ago)
- Last Synced: 2025-04-06T06:47:54.994Z (over 1 year ago)
- Homepage:
- Size: 2.93 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 👾 Pixel Art Frame
Hero Image goes here
Introduction goes here....
## Hardware
## Build
## Software
## Prepare Images
The code is designed to read 24 bit bitmaps because they store the colors for each pixel directly, and don't require a palette (essentially a lookup table). Since the images are only 16×16px small, the ~30% increase in filesize doesn't have a big impact – the images are still smaller than 1kB each.
In order to convert the `.png` to our 24bit bitmaps, use the following command:
$ mkdir bitmaps
$ ls -1 images/*.png | xargs -n 1 bash -c 'convert -type TrueColor -flatten -background "#000000" "$0" "BMP2:bitmaps/`basename ${0%.*}`.bmp"'
You need [ImageMagick](https://imagemagick.org/) installed for that:
$ brew install imagemagick