Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

React-PDF renders black images in Chrome #1936

Open
4 tasks done
ReginaGyimesi opened this issue Jan 23, 2025 · 0 comments
Open
4 tasks done

React-PDF renders black images in Chrome #1936

ReginaGyimesi opened this issue Jan 23, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@ReginaGyimesi
Copy link

ReginaGyimesi commented Jan 23, 2025

Before you start - checklist

  • I followed instructions in documentation written for my React-PDF version
  • I have checked if this bug is not already reported
  • I have checked if an issue is not listed in Known issues
  • If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo

Description

It seems like if the image is too large, it is rendered as black in Chrome. Other browsers work well. Attached the example PDF, too.

Image Image

example.pdf

Steps to reproduce

Expected behavior

Images are rendered.

Actual behavior

Images are rendered as black.

Additional information

No response

Environment

  • Browser (if applicable): Google Chrome
  • React-PDF version: 9.2.1
  • React version: 19.0.0
  • Bundler name and version (if applicable):
@ReginaGyimesi ReginaGyimesi added the bug Something isn't working label Jan 23, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant