summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2023-01-21 16:54:21 +0100
committerEven Rouault <even.rouault@spatialys.com>2023-01-21 16:55:40 +0100
commit8a4f6b587be4fa7bb39fe17f5f9dec52182ab26e (patch)
treea4db9cdd1dc4482e02944b1df13a8698cfb82187 /test
parent6be14e882f36db6386de1517edc2b25aa0626942 (diff)
downloadlibtiff-git-8a4f6b587be4fa7bb39fe17f5f9dec52182ab26e.tar.gz
Fax3: fix failure to decode some fax3 images (fixes #513)
Patch by @jsummers26
Diffstat (limited to 'test')
-rw-r--r--test/CMakeLists.txt3
-rw-r--r--test/Makefile.am5
2 files changed, 6 insertions, 2 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 907aed8f..1c24b660 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -46,7 +46,8 @@ set(TIFFIMAGES
images/rgb-3c-8b.tiff
images/quad-lzw-compat.tiff
images/lzw-single-strip.tiff
- images/testfax4.tiff)
+ images/testfax4.tiff
+ images/testfax3_bug_513.tiff)
# TIFF images using old-jpeg. Unused unless JPEG support is enabled.
set(TIFFIMAGES_OJPEG)
diff --git a/test/Makefile.am b/test/Makefile.am
index 4ba5e07c..b53b27fa 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -158,6 +158,7 @@ TESTSCRIPTS = \
tiff2rgba-rgb-3c-16b.sh \
tiff2rgba-rgb-3c-8b.sh \
testfax4.sh \
+ testfax3_bug_513.sh \
testdeflatelaststripextradata.sh \
$(JPEG_DEPENDENT_TESTSCRIPTS)
@@ -169,6 +170,7 @@ REFFILES = \
refs/o-tiff2ps-PS2.ps \
refs/o-tiff2ps-PS3.ps \
refs/o-testfax4.tiff \
+ refs/o-testfax3_bug_513.sh.tiff \
refs/o-deflate-last-strip-extra-data.tiff
# This list should contain all of the TIFF files in the 'images'
@@ -193,7 +195,8 @@ TIFFIMAGES = \
images/ojpeg_single_strip_no_rowsperstrip.tiff \
images/testfax4.tiff \
images/deflate-last-strip-extra-data.tiff \
- images/custom_dir_EXIF_GPS.tiff
+ images/custom_dir_EXIF_GPS.tiff \
+ images/testfax3_bug_513.tiff
PNMIMAGES = \
images/minisblack-1c-8b.pgm \