From fb4124be74f6ed991106c98e18845f850ac1084b Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Fri, 15 Jun 2012 23:36:41 +0000 Subject: [PATCH] add new test scripts --- test/tiff2rgba-quad-tile.jpg.sh | 7 +++++++ test/tiffcrop-R90-quad-tile.jpg.sh | 7 +++++++ test/tiffcrop-doubleflip-quad-tile.jpg.sh | 7 +++++++ test/tiffcrop-extract-quad-tile.jpg.sh | 7 +++++++ test/tiffcrop-extractz14-quad-tile.jpg.sh | 7 +++++++ 5 files changed, 35 insertions(+) create mode 100755 test/tiff2rgba-quad-tile.jpg.sh create mode 100755 test/tiffcrop-R90-quad-tile.jpg.sh create mode 100755 test/tiffcrop-doubleflip-quad-tile.jpg.sh create mode 100755 test/tiffcrop-extract-quad-tile.jpg.sh create mode 100755 test/tiffcrop-extractz14-quad-tile.jpg.sh diff --git a/test/tiff2rgba-quad-tile.jpg.sh b/test/tiff2rgba-quad-tile.jpg.sh new file mode 100755 index 00000000..e921b973 --- /dev/null +++ b/test/tiff2rgba-quad-tile.jpg.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# Generated file, master is Makefile.am +. ${srcdir:-.}/common.sh +infile="$srcdir/images/quad-tile.jpg.tiff" +outfile="o-tiff2rgba-quad-tile.jpg.tiff" +f_test_convert "$TIFF2RGBA" $infile $outfile +f_tiffinfo_validate $outfile diff --git a/test/tiffcrop-R90-quad-tile.jpg.sh b/test/tiffcrop-R90-quad-tile.jpg.sh new file mode 100755 index 00000000..e55a519f --- /dev/null +++ b/test/tiffcrop-R90-quad-tile.jpg.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# Generated file, master is Makefile.am +. ${srcdir:-.}/common.sh +infile="$srcdir/images/quad-tile.jpg.tiff" +outfile="o-tiffcrop-R90-quad-tile.jpg.tiff" +f_test_convert "$TIFFCROP -R90" $infile $outfile +f_tiffinfo_validate $outfile diff --git a/test/tiffcrop-doubleflip-quad-tile.jpg.sh b/test/tiffcrop-doubleflip-quad-tile.jpg.sh new file mode 100755 index 00000000..51cdaa24 --- /dev/null +++ b/test/tiffcrop-doubleflip-quad-tile.jpg.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# Generated file, master is Makefile.am +. ${srcdir:-.}/common.sh +infile="$srcdir/images/quad-tile.jpg.tiff" +outfile="o-tiffcrop-doubleflip-quad-tile.jpg.tiff" +f_test_convert "$TIFFCROP -F both" $infile $outfile +f_tiffinfo_validate $outfile diff --git a/test/tiffcrop-extract-quad-tile.jpg.sh b/test/tiffcrop-extract-quad-tile.jpg.sh new file mode 100755 index 00000000..feb2841c --- /dev/null +++ b/test/tiffcrop-extract-quad-tile.jpg.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# Generated file, master is Makefile.am +. ${srcdir:-.}/common.sh +infile="$srcdir/images/quad-tile.jpg.tiff" +outfile="o-tiffcrop-extract-quad-tile.jpg.tiff" +f_test_convert "$TIFFCROP -U px -E top -X 60 -Y 60" $infile $outfile +f_tiffinfo_validate $outfile diff --git a/test/tiffcrop-extractz14-quad-tile.jpg.sh b/test/tiffcrop-extractz14-quad-tile.jpg.sh new file mode 100755 index 00000000..9823a744 --- /dev/null +++ b/test/tiffcrop-extractz14-quad-tile.jpg.sh @@ -0,0 +1,7 @@ +#!/bin/sh +# Generated file, master is Makefile.am +. ${srcdir:-.}/common.sh +infile="$srcdir/images/quad-tile.jpg.tiff" +outfile="o-tiffcrop-extractz14-quad-tile.jpg.tiff" +f_test_convert "$TIFFCROP -E left -Z1:4,2:4" $infile $outfile +f_tiffinfo_validate $outfile