react-pdf icon indicating copy to clipboard operation
react-pdf copied to clipboard

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

Open MagisterUnivers opened this issue 7 months ago • 0 comments

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 <Image /> 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

MagisterUnivers avatar Jul 27 '24 10:07 MagisterUnivers