[ 
https://issues.apache.org/jira/browse/PDFBOX-4962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17201662#comment-17201662
 ] 

Emmeran Seehuber commented on PDFBOX-4962:
------------------------------------------

At least iText 2 had a CMYKColor class (which derives from java.awt.Color) and 
I also made my own
[PdfBoxGraphics2DCMYKColor|https://github.com/rototor/pdfbox-graphics2d/blob/master/src/main/java/de/rototor/pdfbox/graphics2d/PdfBoxGraphics2DCMYKColor.java].
 A Graphics2D like my PdfBoxGraphics2D would love to have the original color 
values. I would also be happy if I could replace my PdfBoxGraphics2DCMYKColor 
class with an official PDFBox one.

> CMYK support
> ------------
>
>                 Key: PDFBOX-4962
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4962
>             Project: PDFBox
>          Issue Type: Bug
>            Reporter: Simon Steiner
>            Priority: Major
>         Attachments: pdfbox2cmyk.patch
>
>
> If the content stream has a cmyk color:
> 0 0 0 1 k
> pdfbox will convert this to rgb causing loss of fidelity
> is it possible to pass the cmyk color when you call graphics2d eg:
> {color:#660e7a}graphics{color}.setPaint(cmyk value)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to