3 May’17

BISSRS Embedded Image Distorted in PDF

Introduction:

Recently, I had encountered an issue with embedded images in a report. I had one image in two format, i.e. PNG and JPG. In the report viewer, both the image format was working fine; but when I saved the report in PDF format, PNG image was properly displayed and JPG image was distorted.

In this article, we are going to discuss how to resolve the issue of distorted image in PDF.

Images in Report Viewer:

Images in PDF:

Resolution:

1. Check JPG Image properties:
Images with following properties do not render correctly:

  1. Image with CMYK Colorspace or
  2. Image with extended color profiles or
  3. Both

For more reference, Click here

  1. Check Extended color Profiles
    1. Photoshop CC:
      Open the JPG file in Photoshop and it will tell you if the color profile is missing or does not match your working profile.
    2. Jeffery’s Image Metadata viewer:
      Open link: Jeffery’s Image Metadata.
      Choose your JPG Image file and click on View Data. Check Color Embedding. (Here, unrecognized embedded color profile)
  2. Check Image Colorspace
    1. Photoshop CC: 
      Open the JPG file in Photoshop, you can see the image properties in the Name Tab. (Here,CMYK/8)
    2. Jeffery’s Image Metadata viewer:
      Open link: Jeffery’s Image Metadata
      Choose your JPG Image file and click on View Data.

2. Change JPG Image Properties:

  1. Remove Extended color Profile:
    Open the JPG file in Photoshop. Navigate to EDIT→Assign Profile→Don’t color Manage this Document.
  2. Change Image Colorspace:
    Open the JPG file in Photoshop. Navigate to IMAGE→MODE→ RGB Color

Results:

After the change in image properties the JPG Image will be properly rendered in a PDF.

Written by

Anjali Hemmadi

Software Developer

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload the CAPTCHA.

Want to streamline your business processes?

  • This field is for validation purposes and should be left unchanged.

Recent Articles

  • Reading more then 10K records in D3FOE OData API

    11 July’ 2018

    Introduction: We all know Dynamics 365 Finance and Operations has limitation of 10K records to be fetched at a time usi...

    Read more
  • Paging in D365 Customer Engagement v9.0

    10 July’ 2018

    Introduction: The Xrm.retrieveMultipleRecords method is used to retrieve a collection of records in Dynamics 365 Custom...

    Read more
  • Set up Dynamics 365 connection in Microsoft Social Engagement

    10 July’ 2018

    Introduction: This blog explains how to Set up Dynamics 365 connection in Microsoft Social Engagement. Steps to be follo...

    Read more
  • Voice of the Customer failed to install

    10 July’ 2018

    Introduction: Many people face issues in installing Voice of Customer solution on v9 environment and trying repeatedly ...

    Read more
  • Scribe Insight AX as a Web Service Find Block issue

    10 July’ 2018

    Introduction: If we need to look up for any value from AX then we do it by using a Find Block in Scribe Insight Eg: Basi...

    Read more