Solved

SSRS Image not Rendering Properly when Export to PDF

Posted on 2014-03-26
4
3,697 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
  • 2
4 Comments
 
LVL 39

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:
jfellrath 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
source and target row counts 4 8
T-SQL: Subtracting Amounts from "Among Rows" 3 41
T-SQL:  Negative Numbering in CTE Is Not Working 2 29
grouping logic 6 46
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

911 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now