How the image resolution of the PDF can be configured in SSRS
Hi!!
I created a report in SSRS which incorporates an image.And I have written a code using C# to export thereport toPDF.While I am exporting this report toPDF from the SSRS, the resolution of the image got decreased.
Can anyone give me a solution to configure the resolution of the image in thePDF.
Thanks in advance.
June 29th, 2007 7:57am
Check and see if the following Image Device Information Settings help:
DpiX
The resolution of the output device in x-direction. The default value is 96.
DpiY
The resolution of the output device in y-direction. The default value is 96.
I believe they will because of:
"The PDF rendering extension is based on the Image rendering extension, with some differences."
http://technet.microsoft.com/en-us/library/ms159713.aspx
and then
Device Information Settings
http://technet.microsoft.com/en-us/library/ms155397.aspx
and
Image Device Information Settings
http://technet.microsoft.com/en-us/library/ms155373.aspxLarry
Free Windows Admin Tool Kit Click here and download it now
June 29th, 2007 8:48am
Hi Larry,
Thanks for ur reply.
I'm redering my report in PDF format not in image format. My requirement is to change the resolution of the pdf file. Because the image in the report gets blurred when I rendered it to PDF.
Please help me to find a solution.
June 29th, 2007 9:19am
Have you tried the above suggestion? I believe the PDF is based on the Image and will support the above settings. I understand that you are not using the Image export type, but I have found that when there is an issue with any of the Image based formats (PDF being one of them), there is an issue with all of them. That suggests that they are using a shared code base and the settings above may work.
Thanks,
Larry
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2007 7:19pm
Hi Larry,
I tried as you said, but it didnt work. So we usedan image with higher reslotion and attached it in our report. Now the image resolution while exporting to PDF is good.
Thanks for ur suggestion.
July 3rd, 2007 10:15am
The image and PDF renderers do share a lot of code but the DpiX and DpiY DeviceInfo parameters are not supported by PDF. The solution as Saravanakumars38 mentions is to increase thedpi or resolution of the image. This is the way charts work (the dpi is increased).
Thanks.
Free Windows Admin Tool Kit Click here and download it now
July 3rd, 2007 11:44pm
Hi Donovan,
we face the same problem in SSRS2008 R2.
This issue seems to be unsolved in SSRS2008 R2. I will have to post my feedback concerning the PDF export in SSRS2008 R2 to be enabled for a resolution >96dpi, I guess.
Regards, Arcus (working on SSRS 2008)
April 19th, 2011 4:56am
Hi Donovan,
we face the same problem in SSRS2008 R2.
Is it true that DpiX and DpiY DeviceInfo parameters are still not supported in SSRS2008 R2?
Many thanks!
Regards, Arcus (working on SSRS 2008)
Free Windows Admin Tool Kit Click here and download it now
April 19th, 2011 4:57am
PDF export works with a resolution >96dpi in SSRS2008 as I tested today, many thanks!Regards, Arcus (working on SSRS 2008 R2)
April 20th, 2011 2:58pm