Hello, EO support
I am having the following trouble with png/svgs. I searched on Google and your forums and was not able to find a resolution.
This must be an issue that "pops up" easily and I am quite surprised it exists + not finding a thread with s.o else asking about it.
So, here it is:
I have a default configuration of latest EO.pdf. Using it to export HTML to PDF. The html layout can get very complex (so far I have not noticed any issues with that), and it often uses some background color, on top of which a png/svg pattern image is overlayed.
The png/svg are always defined in the css using the background-image property. It is never used with a direct <img> tag or a <svg> declaration inside the html.
Most often the image is very small and is repeated, but occasionally the problem occurs with a large (png) image.
The problem is that in the PDF the image is rendered with very very low quality. Originally I thought that the issue could be worked around if I used svg (which is vector after all). Unfortunately, the end result is the same...
I am providing here a pdf sample and a png file. I am ripping this thing from a more complex system and it is not so easy to provide you the original HTML too - but I can surely do it should you request it. That said, I believe the info + attachments are enough to reproduce the problem on your end, but if you need something more please let me know.
Png image :
PNG imageOutput pdf:
OUTPUT PDFNeedless to say, application-wise, ensuring a good quality image result is very important so I am very hopeful there is a fix for that.
Best regards!