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

Andreas Lehmkühler commented on PDFBOX-5370:
--------------------------------------------

[^Patch_PDFBOX-5370.txt] adds a special treatment for DeviceRGB colorspaces as 
those should be handled additive. It produces a similar result as adobe

> DeviceN/NChannel Seperation fails for rgb
> -----------------------------------------
>
>                 Key: PDFBOX-5370
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5370
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.25, 2.0.26, 3.0.0 PDFBox
>            Reporter: Maruan Sahyoun
>            Priority: Major
>         Attachments: NChannel-Pantone-1.BMP, NChannel-Pantone-1.PNG, 
> NChannel-Pantone.bmp, NChannel-Pantone.pdf, NChannel-cmyk-1.BMP, 
> NChannel-cmyk-1.PNG, NChannel-cmyk.bmp, NChannel-cmyk.pdf, 
> NChannel-rgb-1.BMP, NChannel-rgb-1.PNG, NChannel-rgb.bmp, NChannel-rgb.pdf, 
> Patch_PDFBOX-5370.txt, image-2022-01-29-10-51-18-421.png, 
> image-2022-01-29-10-51-44-286.png
>
>
> The files NChannel-xx.pdf use different color modes for separation which is 
> described in chapter  10.8.3 of the PDF spec. The matching .bmp files show 
> the expected results. The -1.BMP and -1.PNG files show the results generated 
> by PDFBox trunk (2.0 is the same result). 
> As can be seen the results for cmyk and Pantone are fine/close with the rgb 
> rendering failing.
> The PDFs and expected results have been provided by Hans Bärfuss, PDF Tools 
> AG. Thank you for contributing the samples.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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

Reply via email to