Hi all,
Further to my last post about using pChart PNGs in PDFs, I've worked around this by rendering the images to disk first, then using the static image files in the PDF.
This works fine, except that html2pdf forces a resize, which loses some quality. Image size is increased by around 14%.
Setting the height & width in CSS doesn't keep the image at its roiginal size. I can force it back to its original size by setting the CSS height & width smaller than the actual image dimensions, but this still leads to some loss of quality.
Any idea why this is happening?
Thanks.