This is a migrated thread and some comments may be shown as answers.

Incorrect Color Rendering

1 Answer 135 Views
PDFViewer
This is a migrated thread and some comments may be shown as answers.
Jay I
Top achievements
Rank 1
Jay I asked on 08 Aug 2013, 04:06 PM
I am having a color rendering problem using RadPdfViewer.  Colors are shifted when displayed through the viewer.
See below for the RGB values of the original compared to the RGB values of the Telerik display.  I cannot attach the files as they contain sensitive data.  I don't see any settings that facilitate having any influence over the color profiles. 

I'd be interested to know who else has seen similar issues as well as whether or not Telerik says this is a known issue or plans to do anything about it.

acro reader (original)

purple
RGB: 74-24-107

gray in background of center top graphic
RGB: 189-186-189

telerik

purple rendered as blue
RGB: 0-0-181

gray in background of center top graphic
RGB: 181-178-181

1 Answer, 1 is accepted

Sort by
0
Kammen
Telerik team
answered on 09 Aug 2013, 10:34 AM
Hello Jason,

The color that will be rendered by RadPdfViewer depends mainly on the color space. The color space is responsible for giving meaning to the color components. For example if the color space is Indexed and the color component is 1, then RadPdfViewer will transform this to an RGB color following some rules. In other words colors in PDF are not just RGB values. 

There are some color spaces that are not fully supported by RadPdfViewer so this may cause some color differences. My guess is that this is your case. Here you can find a list of the most common features that RadPdfViewer does not support, including the color spaces. 


Regards,
Kammen
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
PDFViewer
Asked by
Jay I
Top achievements
Rank 1
Answers by
Kammen
Telerik team
Share this question
or