summaryrefslogtreecommitdiff
path: root/tiff/test/tiffcp-split.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tiff/test/tiffcp-split.sh')
-rwxr-xr-xtiff/test/tiffcp-split.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tiff/test/tiffcp-split.sh b/tiff/test/tiffcp-split.sh
new file mode 100755
index 0000000..a2f98e3
--- /dev/null
+++ b/tiff/test/tiffcp-split.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# Basic sanity check for tiffcp + tiffsplit
+#
+# First we use tiffcp to join our test files into a multi-frame TIFF
+# and then we use tiffsplit to split them out again.
+#
+. ${srcdir:-.}/common.sh
+conjoined=o-tiffcp-split-conjoined.tif
+splitfile=o-tiffcp-split-split-
+
+f_test_convert "${TIFFCP}" "${IMG_UNCOMPRESSED}" "${conjoined}"
+f_test_convert "${TIFFSPLIT}" "${conjoined}" "${splitfile}" \ No newline at end of file