HTML-Renderer
HTML-Renderer copied to clipboard
HTML with Images - unwanted image scaling problem
When HTML contains images they are scaled up by ~20% when converting to PDF.
Image 1:
This is the desired look when generating (taken from HTML template)
Image 2:
This is the result i am getting
When HTML is opened in browser it looks like example 1 as it should be. The < img > tag have height and width attributes and this is occurring every time image is present in the HTML.
I vaguely remember reading a similar issue for PDFsharp itself. Might well be that after the latest update this is fixed or when eventually upgrading to PDFsharp 6.x (#221).