-
Notifications
You must be signed in to change notification settings - Fork 10.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All content in White color is rendered in black color and the content in black color is rendered as white color. #6071
Comments
When reporting an issue, please make sure that you read https://github.com/mozilla/pdf.js/blob/master/CONTRIBUTING.md, paying special attention to the first paragraph. At the very least, you must provide a link to a PDF file that can be used to reproduce this issue! |
Closing as incomplete for now; please provide the information requested above to re-open. |
Jonas, |
https://www.dropbox.com/s/w5cb3li354rtgcb/issue6071.pdf?dl=0 @vijith2712 For future reference, when reporting issues: Sending a PDF file by email should only be considered as a last resort for PDF files containing sensitive data, where making the PDF file publicly available through a file sharing service would pose a problem. |
Jonas, |
The PDF contains a |
Can we expect a fix for this issue in the next release? Can you please provide ETA for this issue? |
Any Update on fix for this issue? |
When there are updates, we will provide them here. Currently there is no news. |
I think it's related to the predictor 2. This is related to issue #6289 but different bit size. |
Interestingly enough, if you skip the |
@Snuffleupagus, i also reproduced the condition mentioned above, but i am unable to understand what is going on in the code, can you please guide me how can i understand what code does. |
Corrects readBlockTiff() case for 1-bit depth TIFF images incorporated in the PDF.
Corrects readBlockTiff() case for 1-bit depth TIFF images incorporated in the PDF. Corrected sintaxe according to style guide.
Corrects readBlockTiff() case for 1-bit depth TIFF images incorporated in the PDF.
Corrects readBlockTiff() case for 1-bit depth and 1 color TIFF images incorporated in the PDF.
Corrects readBlockTiff() case for 1-bit depth and 1 color TIFF images incorporated in the PDF.
Corrects readBlockTiff() case for 1-bit depth and 1 color TIFF images incorporated in the PDF.
Corrects readBlockTiff() case for 1-bit depth and 1 color TIFF images incorporated in the PDF.
Corrects readBlockTiff() case for 1-bit depth and 1 color TIFF images incorporated in the PDF.
Corrects readBlockTiff() case for 1-bit depth and 1 color TIFF images incorporated in the PDF.
Corrects readBlockTiff() case for 1-bit depth and 1 color TIFF images incorporated in the PDF.
Corrects readBlockTiff() case for 1-bit depth and 1 color TIFF images incorporated in the PDF. Adds reference test for PDF used to fix this issue.
Fixes issue #6071 - TIFF with 1 bit-depth
Closing as fixed by PR #7869. |
Corrects readBlockTiff() case for 1-bit depth and 1 color TIFF images incorporated in the PDF. Adds reference test for PDF used to fix this issue.
Fixes issue mozilla#6071 - TIFF with 1 bit-depth
When I am trying to view a document using PDFJS the content in white color is rendered in black color and the content in black color is rendered as white color.

The text was updated successfully, but these errors were encountered: