Solved

SSRS Image not Rendering Properly when Export to PDF

Posted on 2014-03-26
4
4,735 Views
Last Modified: 2014-12-30
I have an SSRS report that displays an image that is sourced externally via a file path. On preview, the report and image looks fine.  But when I "export to PDF", the image on the report is not rendered properly... it looks all blurred with black dots and lines.

Why does the image look fine in SSRS, but it is garbage when exporting to PDF?

As a side note, when running the report on our SQL Server sharepoint site, the image doesn't appear at all.... completely missing.

Thanks experts!!
0
Comment
Question by:dunkin1969
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 40

Expert Comment

by:lcohan
ID: 39956895
"I was having this same problem with SSRS 2008 and just wanted to comment that it seems using a BMP instead of a PNG seemed to improve the quality of the images when exported to PDF."
http://connect.microsoft.com/SQLServer/feedback/details/493441/ssrs-2008-how-to-get-the-best-image-quality-possible

Can you please check the type of the image?

Also, try to size the image to the proper number of inches based on 96 DPI calculations. Then use Bitmap.SetResolution to set the  images to at least 300 DPI.  That may provide a higher quality image that is the proper number of pixels to fit properly in the report

For more details please see:

Question14 "How to improve PDF quality of the report exported in Reporting Services 2005" in the following FAQs:
http://social.technet.microsoft.com/Forums/en-US/sqlreportingservices/thread/48de91f9-1844-40c1-9614-5ead0b4b69a5
Another similar thread for your reference:
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/1e29b4b3-3cb8-4f46-a89f-839089665b0f/
0
 

Author Comment

by:dunkin1969
ID: 39957055
By the way. all our images have to be JPG format.
0
 

Author Comment

by:dunkin1969
ID: 39957067
Thanks, I will try to convert to 96 DPI and see if that helps.
0
 
LVL 1

Accepted Solution

by:
Jamie Fellrath earned 500 total points
ID: 40507627
We solved this problem by making sure the image was in RGB format instead of CMYK (Red-Blue-Green instead of Cyan-Magenta-Yellow-Black).  Our graphic designer pointed out that the images on the internet are generally RGB and that's what PDFs are using as well.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Viewers will learn how the fundamental information of how to create a table.

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question