We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Colors are different from Original PDF

Thread ID:





143387 Mar 18,2019 02:45 PM UTC Mar 22,2019 05:24 AM UTC Xamarin.Forms 5
Tags: PdfViewer
Asked On March 18, 2019 02:45 PM UTC

Why are the colors in the SfPDFViewer control so different from the original PDF on PC?

Attachment: Color_Problem_cbc1e3a4.rar

Replied On March 18, 2019 03:31 PM UTC

The new v17.1.0.32-beta version has the sameProblem.

Sathish Sivakumar [Syncfusion]
Replied On March 19, 2019 08:47 AM UTC

Hi Alex, 

Greetings from Syncfusion. 

We were able to reproduce the issue “Contents in the PDF pages are distorted” in SfPdfViewer in Xamarin.Forms.Android and we suspect this to be a defect. We will validate the issue and update further details on 21st Mar 2019. 


Sathish Sivakumar [Syncfusion]
Replied On March 21, 2019 01:07 PM UTC

Hi Alex, 
We are using native PdfRenderer of android to render the pages of the PDF document. On analysing the issue, we could see that the rendering issue is caused due to the native PdfRenderer of android only with High density devices. We could not see this image distortion with low density device. However, we have also provided options in PDF viewer Xamarin.Forms Android and Xamarin.Android to use Pdfium that is a third party open source PDF rendering engine. Pdfium is the solution for overcoming defects in native Android rendering. We could see that the pages are rendered properly with the PDFium rendering engine. We have also published  KB for using PDFium rendering engine in our PDF viewer control. Please refer the below link for more details. 
Can you please check the above suggested solution and let us know whether the solution suits for your requirement or not. 

Replied On March 21, 2019 01:54 PM UTC

The other render is not perfect but better. It's good enough for me. Thank you.

Sathish Sivakumar [Syncfusion]
Replied On March 22, 2019 05:24 AM UTC

Hi Alex, 
We glad to hear that the provided solution meets your requirement. 
Kindly let us know if you need any other assistance. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon