#!/bin/sh

for i in `ls *pnm*`; do convert -rotate 270 -threshold 57% -monochrome  $i -compress group4   ../bw_57/${i/pnm/tiff} ; done
for i in `ls *pnm*`; do convert -rotate 270 -threshold 60% -monochrome  $i -compress group4   ../bw_60/${i/pnm/tiff} ; done
for i in `ls *pnm*`; do convert -rotate 270 -threshold 63% -monochrome  $i -compress group4   ../bw_63/${i/pnm/tiff} ; done
for i in `ls *pnm*`; do convert -rotate 270 -threshold 54% -monochrome  $i -compress group4   ../bw_54/${i/pnm/tiff} ; done

