Various shell utilities for the simple manipulation of images
see here for some others

The picture Modifications The script

leftright topbottom
both rotate90

#!/bin/sh
echo "Content-type: image/gif"
echo
giftopnm ../$1|pnmflip -$2|ppmtogif


#!/bin/sh
echo "Content-type: image/gif"
echo
djpeg ../$1|ppmquant $2|ppmtogif

red

#!/bin/sh
echo "Content-type: image/gif"
echo
djpeg ../$1|
ppmdither -dim $2 -red $3 -blue $4 -green $5|
ppmtogif 
green
blue

radius: 0 2 8

gingham2 g2
squig madras tartan

#!/bin/sh
echo "Content-type: image/jpeg"
echo
ppmpat -$1 $2 $3|cjpeg 
  


also gingham3 -g3 -poles -camo and -anticamo

R: G: B:

#!/bin/sh
#!/bin/sh
echo "Content-type: image/gif"
echo
ppmmake $1 $2 $3|ppmtogif