Skip to content
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

Image interpolation incorrect #9713

Closed
THausherr opened this issue May 10, 2018 · 2 comments · Fixed by #13991
Closed

Image interpolation incorrect #9713

THausherr opened this issue May 10, 2018 · 2 comments · Fixed by #13991

Comments

@THausherr
Copy link
Contributor

THausherr commented May 10, 2018

image_via_1.3_001.pdf
Attach (recommended) or Link to PDF file here:

Configuration:

Steps to reproduce the problem:

  1. start https://mozilla.github.io/pdf.js/web/viewer.html
  2. open file

What is the expected behavior? (add screenshot)

clipboard01

What went wrong? (add screenshot)

clipboard02

/Im0 is the lower Image and has /Interpolate true but this isn't done.

File is from
https://storage.googleapis.com/google-code-archive-source/v2/code.google.com/lumi-read/source-archive.zip
and can be found in lumi-read/trunk/PDF_smoketest/pdf/image_via/image_via_1.3_001.pdf

There are more incorrect renderings but I suspect these are related.

@THausherr THausherr changed the title Image interpolation incorect Image interpolation incorrect May 10, 2018
@dholbert
Copy link

dholbert commented Sep 7, 2021

Two notes:
(1) this bug does still seem to exist; I can still reproduce this in current Firefox Nightly (version 94.0a1 (2021-09-07)) with the built-in PDF viewer.
(2) there's a suspicion that this is the root cause of https://bugzilla.mozilla.org/show_bug.cgi?id=1722191 , which is about a French-government COVID-status QR Code (in a PDF) incorrectly displaying and printing in a blurry fashion (presumably making the QR code a lot less useful/scannable).

Given that association, it would be great to see this fixed if it's not too much trouble.

@Snuffleupagus
Copy link
Collaborator

Given that association, it would be great to see this fixed if it's not too much trouble.

Unfortunately it's probably not that simple, since an attempt was previously made (see PR #8338) which couldn't land since it regressed way more things than it actually fixed.

brendandahl added a commit to brendandahl/pdf.js that referenced this issue Sep 9, 2021
… 1722191)

While some of the output looks worse to my eye, this behavior more
closely matches what I see when I open the PDFs in Adobe acrobat.

Fixes: mozilla#4706, mozilla#9713
brendandahl added a commit to brendandahl/pdf.js that referenced this issue Sep 9, 2021
… 1722191)

While some of the output looks worse to my eye, this behavior more
closely matches what I see when I open the PDFs in Adobe acrobat.

Fixes: mozilla#4706, mozilla#9713
brendandahl added a commit to brendandahl/pdf.js that referenced this issue Sep 10, 2021
… 1722191)

While some of the output looks worse to my eye, this behavior more
closely matches what I see when I open the PDFs in Adobe acrobat.

Fixes: mozilla#4706, mozilla#9713
brendandahl added a commit to brendandahl/pdf.js that referenced this issue Sep 10, 2021
… 1722191)

While some of the output looks worse to my eye, this behavior more
closely matches what I see when I open the PDFs in Adobe acrobat.

Fixes: mozilla#4706, mozilla#9713
brendandahl added a commit to brendandahl/pdf.js that referenced this issue Sep 10, 2021
… 1722191)

While some of the output looks worse to my eye, this behavior more
closely matches what I see when I open the PDFs in Adobe acrobat.

Fixes: mozilla#4706, mozilla#9713, mozilla#8245, mozilla#1344
bh213 pushed a commit to bh213/pdf.js that referenced this issue Jun 3, 2022
… 1722191)

While some of the output looks worse to my eye, this behavior more
closely matches what I see when I open the PDFs in Adobe acrobat.

Fixes: mozilla#4706, mozilla#9713, mozilla#8245, mozilla#1344
rousek pushed a commit to signosoft/pdf.js that referenced this issue Aug 10, 2022
… 1722191)

While some of the output looks worse to my eye, this behavior more
closely matches what I see when I open the PDFs in Adobe acrobat.

Fixes: mozilla#4706, mozilla#9713, mozilla#8245, mozilla#1344
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants