2008-05-24 18:24:25 -04:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# Basic sanity check for tiffcp + tiffsplit + tiffcp
|
|
|
|
#
|
|
|
|
# First we use tiffcp to join our test files into a multi-frame TIFF
|
|
|
|
# then we use tiffsplit to split them out again, and then we use
|
|
|
|
# tiffcp to recombine again.
|
|
|
|
|
2009-01-23 00:37:18 -05:00
|
|
|
. ${srcdir:-.}/common.sh
|
2009-08-23 18:58:25 -04:00
|
|
|
conjoined=o-tiffcp-split-join-conjoined.tif
|
|
|
|
reconjoined=o-tiffcp-split-join-reconjoined.tif
|
|
|
|
splitfile=o-tiffcp-split-join-split-
|
2008-05-24 18:24:25 -04:00
|
|
|
|
2009-08-23 18:58:25 -04:00
|
|
|
f_test_convert "${TIFFCP}" "${IMG_UNCOMPRESSED}" "${conjoined}"
|
|
|
|
f_test_convert "${TIFFSPLIT}" "${conjoined}" "${splitfile}"
|
|
|
|
f_test_convert "${TIFFCP}" "${splitfile}*" "${reconjoined}"
|