mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
48.52k stars 9.98k forks source link

JBIG2 decompression errors #4247

Closed bsl-zcs closed 10 years ago

bsl-zcs commented 10 years ago

Visual garbage is produced on several files containing image masks in JBIG2 format. Other PDF viewers are displaying that files correctly. After the recompression of the same masks in another 1bpp format, pdf.js decodes them right too.

bsl-zcs commented 10 years ago

Here is an example file, illustrating the issues #4246 and #4247 http://www.pnml.kz/pdfexample/V13G0002060.20131031.kz.pdf http://www.pnml.kz/pdfexample/V13G0002060.20131031.ru.pdf