mirror of
https://github.com/ocrmypdf/OCRmyPDF.git
synced 2026-01-30 00:42:38 -05:00
New tests for ccitt, jbig2 encodings
This commit is contained in:
BIN
tests/resources/ccitt.pdf
Normal file
BIN
tests/resources/ccitt.pdf
Normal file
Binary file not shown.
BIN
tests/resources/jbig2.pdf
Normal file
BIN
tests/resources/jbig2.pdf
Normal file
Binary file not shown.
@@ -138,6 +138,10 @@ def test_clean(spoof_tesseract_noop):
|
||||
('palette.pdf', 'tesseract'),
|
||||
('cmyk.pdf', 'hocr'),
|
||||
('cmyk.pdf', 'tesseract'),
|
||||
('ccitt.pdf', 'hocr'),
|
||||
('ccitt.pdf', 'tesseract'),
|
||||
('jbig2.pdf', 'hocr'),
|
||||
('jbig2.pdf', 'tesseract')
|
||||
])
|
||||
def test_exotic_image(spoof_tesseract_cache, pdf, renderer):
|
||||
check_ocrmypdf(
|
||||
|
||||
Reference in New Issue
Block a user