Incorrect Color Rendering

2 posts, 0 answers
  1. Jason Intardonato
    Jason Intardonato avatar
    5 posts
    Member since:
    Mar 2010

    Posted 08 Aug 2013 Link to this post

    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)

    RGB: 74-24-107

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


    purple rendered as blue
    RGB: 0-0-181

    gray in background of center top graphic
    RGB: 181-178-181
  2. Kammen
    Kammen avatar
    312 posts

    Posted 09 Aug 2013 Link to this post

    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. 

    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 >>
Back to Top