#!/bin/sh pngtopnm "$1" | pnmscale -height=114 >john.pnm fname="john.pnm" pamcut -left=0 -width=328 <"$fname" >"img/john_1.pnm" pamcut -cropleft=336 -width=328 <"$fname" >"img/john_2.pnm" pamcut -cropleft=672 <"$fname" >"img/john_3.pnm" echo "file img/john_1.pnm img/john_2.pnm img/john_3.pnm" >img/john.dat ./launch.sh ./beeite.lua