#!/bin/sh if [ "$1" = "" ]; then echo "usage: ${0} " exit 1 fi convert $1 pbm:- | pbmtomacp -norle -left 0 -top 0 > $1.macp