[Poppler-bugs] [Bug 34053] Poppler ignores rendering intents and always uses INTENT_RELATIVE_COLORIMETRIC

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Aug 6 00:44:56 PDT 2013


https://bugs.freedesktop.org/show_bug.cgi?id=34053

--- Comment #16 from Thomas Freitag <Thomas.Freitag at alfa.de> ---
(In reply to comment #14)
> (In reply to comment #12)
> > You have to render in
> > CMYK (because the profile in OutputIntents is a CMYK profile). 
> 
> I don't understand that, we have some code around that converts CMYK->RBG,
> no? Why do i need to render in CMYK?

Because the profile in OutputIntents is a CMYK profile, the
transform->doTransform will give as CMYK values. If You render in RGB,
GfxICCBasedColorSpace::getRGB will be called, which then will not use the
transformation but will call alt->getRGB(), so You will loose the effects. 

But during writing this I got another idea: We can examine the colorspace of
the output device (or if YOu want the former display profile) and can use
cmsCreateMultiprofileTransform with the 
icc profile of colorspace -> icc profile of output intents -> display profile
to get RGB values. Then we also need no SPLASH_CMYK for this case...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/poppler-bugs/attachments/20130806/308c30d3/attachment-0001.html>


More information about the Poppler-bugs mailing list