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

Tilman Hausherr edited comment on PDFBOX-5370 at 1/29/22, 9:52 AM:
-------------------------------------------------------------------

The PDF specification mentions that older viewers can ignore the NChannel: 
"Conforming readers that do not support PDF 1.6 shall treat these colour spaces 
as normal DeviceN colour spaces and shall use the tint transformation function 
as appropriate." So I tried to do this, and here's the result
!image-2022-01-29-10-51-18-421.png! 


was (Author: tilman):
The PDF specification mentions that older viewers can ignore the NChannel: 
"Conforming readers that do not support PDF 1.6 shall treat these colour spaces 
as normal DeviceN colour spaces and shall use the tint transformation function 
as appropriate." So I tried to do this, and here's the result
 !image-2022-01-29-10-51-18-421.png! 

> 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, 
> 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