[
https://issues.apache.org/jira/browse/PDFBOX-5970?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Steiner updated PDFBOX-5970:
----------------------------------
Description:
In pdfbox 2, if i set a breakpoint on PageDrawer:
protected Paint getPaint(PDColor color) throws IOException
And call org.apache.pdfbox.tools.PDFToImage
I see cmyk black text is converted to RGB, i expect result should be
Color.black as pdfbox used to do via:
float[] components = color.getComponents();
return new Color(new DeviceCMYKColorSpace(), components, 1);
was:
In pdfbox 2, if i set a breakpoint on PageDrawer:
protected Paint getPaint(PDColor color) throws IOException
And call org.apache.pdfbox.tools.PDFToImage
I see cmyk black text is converted to RGB, i expect result is Color.black as
pdfbox used to do via:
float[] components = color.getComponents();
return new Color(new DeviceCMYKColorSpace(), components, 1);
> CMYK color converted to RGB
> ---------------------------
>
> Key: PDFBOX-5970
> URL: https://issues.apache.org/jira/browse/PDFBOX-5970
> Project: PDFBox
> Issue Type: Bug
> Reporter: Simon Steiner
> Priority: Major
> Attachments: adobe4.pdf
>
>
> In pdfbox 2, if i set a breakpoint on PageDrawer:
> protected Paint getPaint(PDColor color) throws IOException
> And call org.apache.pdfbox.tools.PDFToImage
> I see cmyk black text is converted to RGB, i expect result should be
> Color.black as pdfbox used to do via:
> float[] components = color.getComponents();
> return new Color(new DeviceCMYKColorSpace(), components, 1);
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]