Pdf.js: unwanted horizontal lines on pdf file in browser

Created on 22 Apr 2019  路  2Comments  路  Source: mozilla/pdf.js

Configuration:

  • Web browser and its version: Chrome Version 73.0.3683.103 (Official Build) (64-bit)
  • PDF.js version: 2.0.493
  • Is a browser extension: No

What went wrong? (add screenshot)
Showing unwanted horizontal lines in page #3 in pdf

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):
http://esjp-uat.devtpit.com/viewer.html?file=jpdocs/PR/200016_PR_JP.pdf#page=3

4-image-conversion

Most helpful comment

Page 3 contains many 1-bit images that have /Filter /CCITTFaxDecode and /ImageMask true. The images are supposed to be completely transparent but in PDF.js a black line appears at the bottom of each image. I think there is a bug in the decoder src/core/ccitt.js. The images have also /EncodedByteAlign true, which could be the culprit.

All 2 comments

Can anyone help on this?

Page 3 contains many 1-bit images that have /Filter /CCITTFaxDecode and /ImageMask true. The images are supposed to be completely transparent but in PDF.js a black line appears at the bottom of each image. I think there is a bug in the decoder src/core/ccitt.js. The images have also /EncodedByteAlign true, which could be the culprit.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zerr0s picture zerr0s  路  3Comments

anggikolo11 picture anggikolo11  路  3Comments

liuzhen2008 picture liuzhen2008  路  4Comments

timvandermeij picture timvandermeij  路  4Comments

azetutu picture azetutu  路  4Comments