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

Not valid image extension / Blank space / Next 14 + Dynamic #2831

Open
MagisterUnivers opened this issue Jul 27, 2024 · 0 comments
Open

Not valid image extension / Blank space / Next 14 + Dynamic #2831

MagisterUnivers opened this issue Jul 27, 2024 · 0 comments

Comments

@MagisterUnivers
Copy link

MagisterUnivers commented Jul 27, 2024

Describe the bug
The image is place inside the PDF contaiment tags, another images are rendering, but 1 is not. CORS accessible.
But it seems maybe the image have something, that is not right determed by the library, or whatsoever it is.

(right bottom white blank space)

To Reproduce
Steps to reproduce the behavior including code snippet (if applies):

  1. Upload images to component
  2. Images uploaded to server
  3. Use images.map to show inside the each tag

Expected behavior
All images should be showed inside PDF, without blank spaces.

Screenshots

image

image

Desktop (please complete the following information):

  • OS: [Windows]
  • Browser [chrome]
  • React-pdf version [e.g. v3.4.4]

**Files

main-calista

**How to bypass?

Basically, change the structure of the image, by resizing it or changin formats to another.

Proof is the calista is enabled with the same 100% quality, but in JPG instead of PNG (But another PNG are acceptable)

**Last image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant