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