1 #!/bin/sh 2 # 3 # Copyright 2004 Bob Friesenhahn <bfriesen (at] simple.dallas.tx.us> 4 # 5 # This file is part of Magick++, the C++ API for ImageMagick and 6 # ImageMagick. Please see the file "COPYING" included with Magick++ 7 # for usage and copying restrictions. 8 # 9 subdir=Magick++/demo 10 . ./common.shi 11 echo "1..24" 12 13 SRCDIR=${top_srcdir}/${subdir}/ 14 export SRCDIR 15 16 cd ${subdir} || exit 1 17 18 ./analyze "$SRCDIR/model.miff" && echo "ok" || echo "not ok" 19 20 for demo in button demo flip gravity piddle shapes 21 do 22 ./${demo} && echo "ok" || echo "not ok" 23 done 24 25 for filter in bessel blackman box catrom cubic gaussian hamming hanning hermite lanczos mitchell point quadratic sample scale sinc triangle 26 do 27 ./zoom -filter $filter -geometry 600x600 ${SRCDIR}/model.miff zoom_${filter}_out.miff && echo "ok" || echo "not ok" 28 done 29 : 30