2017-04-10 13:39:48 -04:00
|
|
|
|
2017-04-15 00:12:21 -04:00
|
|
|
# convert PBM bitmap to playfield bytes
|
2017-04-10 13:39:48 -04:00
|
|
|
%-pf.hex: %-pf.pbm p4_to_pfbytes.py
|
|
|
|
python p4_to_pfbytes.py $< > $@
|
|
|
|
|
2017-04-15 00:12:21 -04:00
|
|
|
# convert PBM bitmap to 48-pixel sprite
|
2017-04-10 13:39:48 -04:00
|
|
|
%-48.hex: %-48.pbm p4_to_48pix.py
|
|
|
|
python p4_to_48pix.py $< > $@
|
|
|
|
|
2017-04-15 00:12:21 -04:00
|
|
|
# convert JPG to pbm
|
|
|
|
|
2017-04-10 13:39:48 -04:00
|
|
|
%-pf.pbm: %.jpg
|
|
|
|
convert $< -resize 40x192\! -colorspace Gray -dither FloydSteinberg $@
|
|
|
|
|
|
|
|
%-48.pbm: %.jpg
|
|
|
|
convert $< -resize 48x192\! -colorspace Gray -dither FloydSteinberg $@
|
|
|
|
|