'Can't use PNG files larger than 10kb in pdf generation
I am trying to generate pdf files using renderToStaticMarkup from react-dom/server library and every time I am using png files larger than 10KB it doesn't display them. I read the documentation for any workarounds, but found nothing. It does not allow for other file types like .svg either. Is there any way for me to add good quality images to pdfs or I have to go by without them? Thanks for all the answers in advance!
PS. When I load images from external links they display properly.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
