Add test for JBIG2 decoder with >4 referred-to segments

Add regression test for issue #20439 to ensure that JBIG2 images
with more than 4 referred-to segments are handled correctly.
This commit is contained in:
Gaurang Bhatia 2025-11-22 09:25:14 +05:30
parent b5c03c5bd4
commit d457ef607d
2 changed files with 7 additions and 0 deletions

BIN
test/pdfs/issue20439.pdf Normal file

Binary file not shown.

View File

@ -2809,6 +2809,13 @@
"rounds": 1, "rounds": 1,
"type": "eq" "type": "eq"
}, },
{
"id": "issue20439",
"file": "pdfs/issue20439.pdf",
"md5": "3c7e888b26ff00943ec1610d93235efc",
"rounds": 1,
"type": "eq"
},
{ {
"id": "issue15942", "id": "issue15942",
"file": "pdfs/issue15942.pdf", "file": "pdfs/issue15942.pdf",