]> git.saurik.com Git - wxWidgets.git/blob - src/tiff/test/tiffcp-split-join.sh
fix building with WXWIN_COMPATIBILITY_2_8 == 0
[wxWidgets.git] / src / tiff / test / tiffcp-split-join.sh
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}"