#!/bin/sh
# generate full color
cp "$1" image1000-16.bmp
convert +compress -crop 16x16+54+112 "$1" image1200-16.bmp
convert +compress -crop 16x16+54+112 "$2" image1300-16.bmp
convert +compress -crop 16x16+250+112 "$1" image1400-16.bmp
convert +compress -crop 16x16+250+112 "$2" image1500-16.bmp
convert +compress -crop 40x42+6+8 "$1" image1600-16.bmp
convert +compress -crop 40x42+6+8 "$2" image1700-16.bmp
convert +compress -crop 40x42+6+64 "$1" image1800-16.bmp
convert +compress -crop 40x42+6+64 "$2" image1900-16.bmp
convert +compress -crop 40x42+274+8 "$1" image2000-16.bmp
convert +compress -crop 40x42+274+8 "$2" image2100-16.bmp
convert +compress -crop 40x42+274+64 "$1" image2200-16.bmp
convert +compress -crop 40x42+274+64 "$2" image2300-16.bmp
convert +compress -crop 14x14+18+114 "$1" image2400-16.bmp
convert +compress -crop 14x14+18+114 "$2" image2500-16.bmp
convert +compress -crop 28x16+282+112 "$1" image2600-16.bmp
convert +compress -crop 28x16+282+112 "$2" image2700-16.bmp
c:/pilrc/pilrc -SonySkin -LE32 "16.rcp"
c:/palmfontconv/toprc -s "$3.prc" "$3" sknG SkAi abmp03e8.bin abmp04b0.bin abmp0514.bin abmp0578.bin abmp05dc.bin abmp0640.bin abmp06a4.bin abmp0708.bin abmp076c.bin abmp07d0.bin abmp0834.bin abmp0898.bin abmp08fc.bin abmp0960.bin abmp09c4.bin abmp0a28.bin abmp0a8c.bin
rm abmp03e8.bin abmp04b0.bin abmp0514.bin abmp0578.bin abmp05dc.bin abmp0640.bin abmp06a4.bin abmp0708.bin abmp076c.bin abmp07d0.bin abmp0834.bin abmp0898.bin abmp08fc.bin abmp0960.bin abmp09c4.bin abmp0a28.bin abmp0a8c.bin
