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