#!/bin/tcsh -ef
echo "<html><head><title>The effect of various %quality settings for jpg tile compression</title></head><body>" > fooq.html
echo "<h1>The effect of various %quality settings for jpg tile compression</h1>" >> fooq.html
foreach q (3 5 10 15 20 30 40 50 60 70 75 80 85 90 95)
  echo "${q} - now doing tiles test for quality ${q}" 
  echo "${q} - now doing tiles test for quality ${q} <br>" >> fooq.html
  mkdir foo${q}
  /usr/bin/time -o fooq.html -a jp2ToJpgTiles /san/sanvol1/scratch/visiGene/jpgTest/Zzz3_93_0206034106_D.jp2 foo{$q} -quality ${q}
  echo "<br>" >> fooq.html
  du -hs foo${q} >> fooq.html
  echo "<br>" >> fooq.html
  echo "<A href=http://hgwdev.cse.ucsc.edu/bigImage.html?url=http://hgwdev.cse.ucsc.edu/visiGene/full/inSitu/Mouse/jax/foo${q}/Zzz3_93_0206034106_D/Zzz3_93_0206034106_D&w=14481&h=7233>bigImage</a><br>" >> fooq.html
  echo "<br>" >> fooq.html
  echo "<br>" >> fooq.html
end
echo "</body></html>" >> fooq.html

