#!/bin/sh
#
#  extract bottom shelf from window snapshot and scale to half size

giftoppm $* | pnmcut 14 219 572 166 | pnmscale .5 | ppmquant 64 | ppmtogif
