react-pdf
react-pdf copied to clipboard
Not valid image extension / Blank space / Next 14 + Dynamic
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):
- Upload images to component
- Images uploaded to server
- Use images.map to show inside the each <Image /> tag
Expected behavior All images should be showed inside PDF, without blank spaces.
Screenshots
Desktop (please complete the following information):
- OS: [Windows]
- Browser [chrome]
- React-pdf version [e.g. v3.4.4]
**Files
**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