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