5 lines
172 B
Bash
Executable File
5 lines
172 B
Bash
Executable File
#!/usr/bin/env python3
|
|
|
|
magick $1 -resize 32x32 +dither -type Palette -depth 8 -colors 16 PNG8:$1-indexed
|
|
magick stream -map r -storage-type char $1-indexed $1-indexed.raw
|