- Home
- Forum
- Xamarin.Forms
- Colors are different from Original PDF
Colors are different from Original PDF
Why are the colors in the SfPDFViewer control so different from the original PDF on PC?
Attachment: Color_Problem_cbc1e3a4.rar
Attachment: Color_Problem_cbc1e3a4.rar
SIGN IN To post a reply.
5 Replies
AL
Alex
March 18, 2019 03:31 PM UTC
The new v17.1.0.32-beta version has the sameProblem.
SS
Sathish Sivakumar
Syncfusion Team
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.
Regards,
Sathish
Sathish
SS
Sathish Sivakumar
Syncfusion Team
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.
Regards,
Sathish
AL
Alex
March 21, 2019 01:54 PM UTC
The other render is not perfect but better. It's good enough for me. Thank you.
SS
Sathish Sivakumar
Syncfusion Team
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.
Regards,
Sathish
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
AL Alex
- Mar 18, 2019 02:45 PM UTC
- Mar 22, 2019 05:24 AM UTC