Rank: Member Groups: Member
Joined: 5/23/2013 Posts: 24
|
Hi, when I use an image in the aspx page, it is displayed well with good resolution but when I render the page to a PDF with MVCToPDF.RenderAsPDF() method, the resolution of the image in the PDF file get worse. Is there any way to not lost resolution of the image in the PDF?
Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
The image resolution are automatically kept by the converter unless there is something in your HTML that triggers a merge of multiple layers. For example, if you have a background color and a half transparent image, then the background color and the half transparent image must be merged during the render process. In this case the final result will be reduced to screen resolution. You can try to comment out contents of your page to find out what triggered such downgrading.
Thanks!
|