Can't view colours in PDF

  • Loading this file in WPViewPDF:


    i can't see the coloured background rectangles: they appears grey instead of light blue. See, for sample, the rectangle at the right of "Agenzia".

    For anything else, the component works very good and fast.

    I'm working with C++ Builder 6.0.

  • Will be "function color" implemented in future releases? There some tools able to convert PDF files using this kind of color to a color kind that is handled by your component? How can i see, in PDF file, if it uses function colors?

    Thansk.

    • Offizieller Beitrag

    Hi,

    I don't know which color space is used here. The color space I meant was CalRGB .

    In the PDF text it can be encoded with something like this:

    Code
    [ /CalRGB
    << /WhitePoint [0.9505 1.0000 1.0890]
    /Gamma [1.8000 1.8000 1.8000]
    /Matrix [ 0.4497 0.2446 0.0252
    0.3163 0.6720 0.1412
    0.1845 0.0833 0.9227
    ]
    >>
    ]

    It should be supported sometimes but there is no fixed date. I don't know which API can be used here.

    Regards,
    Julian