| 1 | #!/bin/sh |
| 2 | # |
| 3 | # Basic sanity check for tiffcp + tiffsplit + tiffcp |
| 4 | # |
| 5 | # First we use tiffcp to join our test files into a multi-frame TIFF |
| 6 | # then we use tiffsplit to split them out again, and then we use |
| 7 | # tiffcp to recombine again. |
| 8 | |
| 9 | . ${srcdir:-.}/common.sh |
| 10 | conjoined=o-tiffcp-split-join-conjoined.tif |
| 11 | reconjoined=o-tiffcp-split-join-reconjoined.tif |
| 12 | splitfile=o-tiffcp-split-join-split- |
| 13 | |
| 14 | f_test_convert "${TIFFCP}" "${IMG_UNCOMPRESSED}" "${conjoined}" |
| 15 | f_test_convert "${TIFFSPLIT}" "${conjoined}" "${splitfile}" |
| 16 | f_test_convert "${TIFFCP}" "${splitfile}*" "${reconjoined}" |