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