Hi,
I'm using PDFsharp along with the HTML Renderer (
https://theartofdev.com/html-renderer/) library to save an MVC view to a PDF. The HTML has IMG tags with the image content inline as base 64 strings. The resulting PDF has the images present. However, they have been increased in size 20-30% and are blurry. I've been able to add CSS to the page to force the maximum size of the IMG to prevent scaling up too much. But the image is still blurry.
I'm trying to figure out if there is anything I can do with PDFsharp to prevent this behavior. I'm not sure if the problem is there or in the HTML Renderer. I see that there is an event handler available to manually handle image processing but have yet to get that to work.
Any help is appreciated.