<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">What exactly do you mean by “rendering for printing”?   Do you mean rasterizing the page to a “bitmap” OR conversion to a PDL such as Postscript OR something else?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The exactly output format plays a HUGE factor in whether color management (or any sort) is required or necessary.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Leonard<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">poppler <poppler-bounces@lists.freedesktop.org> on behalf of William Bader <williambader@hotmail.com><br>
<b>Date: </b>Monday, June 11, 2018 at 7:02 AM<br>
<b>To: </b>"poppler@lists.freedesktop.org" <poppler@lists.freedesktop.org><br>
<b>Subject: </b>Re: [poppler] Color conversion while rendering for printing<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div id="divtagdefaultwrapper">
<p><span style="font-size:12.0pt;color:black">ghostscript had a similar issue with performance, and they added a -dUseFastColor to bypass ICC lookups.  <a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ghostscript.com%2Fdoc%2F9.23%2FUse.htm%23EPS_parameters&data=02%7C01%7Clrosenth%40adobe.com%7C568c5e86e9ac4b0ade6208d5cfa404d5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636643225726934480&sdata=keEYP9Bj9FO796Mbqs0j8ktGGT4x3SD6yeE%2Fx7lvOnQ%3D&reserved=0">https://www.ghostscript.com/doc/9.23/Use.htm#EPS_parameters</a><o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black">They are also working on a fork of LCMS that is faster and thread-safe. <a href="https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ghostscript.com%2Fdoc%2F9.23%2FHistory9.htm%23Version9.23&data=02%7C01%7Clrosenth%40adobe.com%7C568c5e86e9ac4b0ade6208d5cfa404d5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636643225726934480&sdata=Y0%2B4L3yXNhQkXUD4Q039N3252ntXBlssZ5VVNQlX3Uw%3D&reserved=0">https://www.ghostscript.com/doc/9.23/History9.htm#Version9.23</a><o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black">I think that only the final application to process the file should apply the color conversion. Viewers know that they are the final application. When poppler renders a document, it doesn't know if the results will
 be sent to another application, to a printer that will apply its own color conversion, or to a printer that will output it directly. That might be another reason to make it optional.<o:p></o:p></span></p>
<p><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<p><span style="font-size:12.0pt;color:black">William<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt;color:black">
<hr size="2" width="98%" align="center">
</span></div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> poppler <poppler-bounces@lists.freedesktop.org> on behalf of Carlos Garcia Campos <carlosgc@gnome.org><br>
<b>Sent:</b> Monday, June 11, 2018 9:10 AM<br>
<b>To:</b> poppler@lists.freedesktop.org<br>
<b>Subject:</b> [poppler] Color conversion while rendering for printing</span><span style="font-size:12.0pt;color:black">
<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"> <o:p></o:p></span></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal"><span style="color:black"><br>
Hi,<br>
<br>
does it make sense to do color conversions using CMS while rendering<br>
document for printing? I don't know much about CMS, I'm asking because<br>
libcms is very very slow in some documents. When rendering individual<br>
pages like viewers do, the slowdown is not that noticeable, but when<br>
printing an entire document the slowdown is very annoying. I think we<br>
could use the existing printing flag we pass when creating the GfxState<br>
to not use CMS. <br>
<br>
Thanks,<br>
-- <br>
Carlos Garcia Campos<br>
PGP key: <a href="https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpgp.mit.edu%3A11371%2Fpks%2Flookup%3Fop%3Dget%26search%3D0x523E6462&data=02%7C01%7Clrosenth%40adobe.com%7C568c5e86e9ac4b0ade6208d5cfa404d5%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636643225726944489&sdata=2rB%2B8UnaCfV%2BY05XMm6kJtte8A7T65D4aXlusNr4inw%3D&reserved=0">
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x523E6462</a><o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>