<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - Need option to "preserve blacks""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=57244">57244</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Need option to "preserve blacks"
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Mac OS X (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>chocolate.camera@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=70211" name="attach_70211" title="PDF with text in solid black">attachment 70211</a> <a href="attachment.cgi?id=70211&action=edit" title="PDF with text in solid black">[details]</a></span>
PDF with text in solid black

CMYK solid black (i.e. C=0, M=0, Y=0, K=100%), or some other kinds of solid
blacks (separation, index/DeviceN with K-only CMYK black, etc) convert to
dark-gray-ish RGB instead of pure RGB black.

While not a bug, as that original black in the original color space (determined
by the source â€”default or declared— ICC profile, I guess) may indeed not map to
pure black, such conversions are usually inappropriate even if arguably
accurate, since many (most?) times one would want to display those blacks as
pure RGB black, no matter how that original black actually looked on paper.

Pretty much all documents with text will produce this unintended dark-gray
color when viewed on screen, since most of times that text will be solid black.

Many software capable of converting PDFs from one color space to another
usually have an option to "preserve blacks" (i.e. add an exception to how color
management should deal with solid blacks and grayscale objects). Acrobat X has
it in its dialog for Tools > Print production > Color conversion (although I
cannot even get Acrobat to do what I expect by this option with the embedded
file); GhostScript's source code has seemingly portions for that at
<a href="http://svn.ghostscript.com/ghostscript/trunk/gs/lcms2/src/cmscnvrt.c">http://svn.ghostscript.com/ghostscript/trunk/gs/lcms2/src/cmscnvrt.c</a> (which I
cannot tell how relevant it actually is: I stumbled into it when googling "PDF
preserve black" and cannot read C). There are countless articles on the web on
why "preserving blacks" is an important feature when converting color spaces.

Here I attach a PDF created with Adobe Illustrator CS5.5 with solid black CMYK
text, which produces this dark-gray RGB when converted with `pdftocairo` and
`pdftoppm`.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>