#!/bin/sh

for i in $*
do
	ppmquant 256 $i | ppmtogif | giftoppm > $i.x
	mv $i.x $i
done
