Skip to content

[Bug]: HC-PDF - Foreground Images not loading, making PDFs unreadable #19049

Open
@kgronowski

Description

@kgronowski

Attach (recommended) or Link to PDF file

https://sbc.org.pl/Content/874002/PDF/BŚ-RIII6831-1921.pdf

Web browser and its version

Chrome 131.0.6778.70 / Firefox 132.0.2

Operating system and its version

Windows 10/11

PDF.js version

4.0.269 and latest

Is the bug present in the latest PDF.js version?

Yes

Is a browser extension

No

Steps to reproduce the problem

  1. Open linked PDF file in viewer or directly in Firefox or go to https://sbc.org.pl/formats/pdf/web/viewer.html?file=https%3A%2F%2Fsbc.org.pl%2FContent%2F874002%2FPDF%2FB%25C5%259A-RIII6831-1921.pdf

What is the expected behavior?

All images are properly rendered/loaded, texts are readable. Just like in default PDF viewer in chromium based browsers or Adobe Acrobat.
image

What went wrong?

Foreground images are properly loaded.

image

Link to a viewer

https://sbc.org.pl/formats/pdf/web/viewer.html?file=https%3A%2F%2Fsbc.org.pl%2FContent%2F874002%2FPDF%2FB%25C5%259A-RIII6831-1921.pdf

Additional context

Problem could be related to sizes of underlying images as other, smaller PDFs created with the same method render just fine.
Example: https://sbc.org.pl/formats/pdf/web/viewer.html?file=https%3A%2F%2Fsbc.org.pl%2FContent%2F849032%2FPDF%2FB%25C5%259A-BTLw3193-1901.pdf

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions