Open furstenheim opened 1 year ago
Any luck on this? I am having similar issue - I am building my overlay - when the image has elements with a background it outlines them with a little grey line??
https://hcti.io/v1/image/566cc064-59ec-4d26-8340-09b0bbc3ec56.png Generated Ad (28).pdf
What were you trying to do?
I'm creating a pdf and adding a png with transparent background to it.
pdf-lib is adding a border to the image. This can be seen when opening the pdf in chrome both in linux and mac.
How did you attempt to do it?
Embedded image![image-without-border](https://github.com/Hopding/pdf-lib/assets/8070719/ce323ed2-ece4-49d3-8477-83925a7fa7bc)
Result: example.pdf
What actually happened?
The pdf shows a border in the png![image](https://github.com/Hopding/pdf-lib/assets/8070719/48d42aa8-04b7-4a1c-be37-bcfc36e982de)
What did you expect to happen?
The image that I'm attaching has no border so it should not add a border to the pdf
How can we reproduce the issue?
I've added the code in "How did you attempt" sesion.
Version
1.17.1
What environment are you running pdf-lib in?
Node
Checklist
Additional Notes
No response