Bug 57244 - Need option to "preserve blacks"
Summary: Need option to "preserve blacks"
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Mac OS X (All)
: medium enhancement
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-18 09:09 UTC by Jorge Hernández Valiñani
Modified: 2018-08-21 11:07 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
PDF with text in solid black (70.92 KB, application/pdf)
2012-11-18 09:09 UTC, Jorge Hernández Valiñani
Details

Description Jorge Hernández Valiñani 2012-11-18 09:09:58 UTC
Created attachment 70211 [details]
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 http://svn.ghostscript.com/ghostscript/trunk/gs/lcms2/src/cmscnvrt.c (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`.
Comment 1 GitLab Migration User 2018-08-21 11:07:25 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/521.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.