summaryrefslogtreecommitdiff
path: root/tiff/test/tiffcp-split.sh
blob: a2f98e33ea24ae3719dd331d8d06edebd45cc970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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}"