kusano 7d535a
#!/bin/sh
kusano 7d535a
#
kusano 7d535a
# Basic sanity check for tiffcp + tiffsplit + tiffcp
kusano 7d535a
#
kusano 7d535a
# First we use tiffcp to join our test files into a multi-frame TIFF
kusano 7d535a
# then we use tiffsplit to split them out again, and then we use
kusano 7d535a
# tiffcp to recombine again.
kusano 7d535a
kusano 7d535a
. ${srcdir:-.}/common.sh
kusano 7d535a
conjoined=o-tiffcp-split-join-conjoined.tif
kusano 7d535a
reconjoined=o-tiffcp-split-join-reconjoined.tif
kusano 7d535a
splitfile=o-tiffcp-split-join-split-
kusano 7d535a
kusano 7d535a
f_test_convert "${TIFFCP}" "${IMG_UNCOMPRESSED}" "${conjoined}"
kusano 7d535a
f_test_convert "${TIFFSPLIT}" "${conjoined}" "${splitfile}"
kusano 7d535a
f_test_convert "${TIFFCP}" "${splitfile}*" "${reconjoined}"