diff options
author | Even Rouault <even.rouault@spatialys.com> | 2022-02-09 21:53:39 +0100 |
---|---|---|
committer | Even Rouault <even.rouault@spatialys.com> | 2022-02-09 22:52:52 +0100 |
commit | b0456acbba36927eeb2f937f4abed66deab4a029 (patch) | |
tree | 5ca8780bc0781e40b61d7a212a44ae2168e9c15d /test | |
parent | a1dafbf307278696bcf99b8f320bf81a112315e1 (diff) | |
download | libtiff-git-b0456acbba36927eeb2f937f4abed66deab4a029.tar.gz |
Predictor 2 (horizontal differenciation): support 64-bit
There's no reason not to support 64-bit. The TIFF 6 specification
doesn't say anything about that (and even mention 4-bit, which we don't
support)
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test/Makefile.am | 2 | ||||
-rw-r--r-- | test/images/test_float64_predictor2_be_lzw.tif | bin | 0 -> 872 bytes | |||
-rw-r--r-- | test/images/test_float64_predictor2_le_lzw.tif | bin | 0 -> 887 bytes |
4 files changed, 4 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 3336b58c..1bdb283e 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -356,6 +356,8 @@ add_convert_test_multi(tiffcp thumbnail "" thumbnail "-c g3:1d" "" "" "images/miniswhite-1c-1b.tiff" FALSE) add_convert_test(tiffcp none "-c none" "images/quad-lzw-compat.tiff" FALSE) add_convert_test(tiffcp noner1 "-c none -r 1" "images/lzw-single-strip.tiff" FALSE) +add_convert_test(tiffcp float64_lzw_2_le "-c lzw:2 "images/test_float64_predictor2_le_lzw.tif" FALSE) +add_convert_test(tiffcp float64_lzw_2_be "-c lzw:2 "images/test_float64_predictor2_be_lzw.tif" FALSE) # tiffdump add_reader_test(tiffdump "" "images/miniswhite-1c-1b.tiff") diff --git a/test/Makefile.am b/test/Makefile.am index cb338884..6c1bae62 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -199,6 +199,8 @@ PNMIMAGES = \ IMAGES_EXTRA_DIST = \ images/README.txt \ images/miniswhite-1c-1b.g3 \ + images/test_float64_predictor2_le_lzw.tif \ + images/test_float64_predictor2_be_lzw.tif \ $(PNMIMAGES) \ $(TIFFIMAGES) diff --git a/test/images/test_float64_predictor2_be_lzw.tif b/test/images/test_float64_predictor2_be_lzw.tif Binary files differnew file mode 100644 index 00000000..7cbbae14 --- /dev/null +++ b/test/images/test_float64_predictor2_be_lzw.tif diff --git a/test/images/test_float64_predictor2_le_lzw.tif b/test/images/test_float64_predictor2_le_lzw.tif Binary files differnew file mode 100644 index 00000000..3dd57a54 --- /dev/null +++ b/test/images/test_float64_predictor2_le_lzw.tif |