[
https://issues.apache.org/jira/browse/PDFBOX-1480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13539636#comment-13539636
]
Greg Werner edited comment on PDFBOX-1480 at 12/26/12 6:48 PM:
---------------------------------------------------------------
Ah your last sentence says it all. So the last section being G for stroking
color space is what I would be picking up then as I call it after
processStream(page, resources, stream) where page is the first page of the pdf.
I guess what I had in mind then was like processStream(section, resources,
stream) where I would be grabbing the graphic state after each BT/ET section
and getting the relevant information.
was (Author: grjasewe):
Ah your last sentence says it all. So the last section being G for
stroking color space is what I would be picking up then as I call it after
processStream(page, resources, stream) where page is the first page of the pdf.
I guess what I had in mind then was like processStream(section, resources,
stream) where I would be grabbing the graphics state after each BT/ET section
and getting the relevant information.
> PDFBox treats some DeviceRGB pdfs as DeviceGRAY
> -----------------------------------------------
>
> Key: PDFBOX-1480
> URL: https://issues.apache.org/jira/browse/PDFBOX-1480
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.7.1
> Reporter: Greg Werner
> Attachments: color.pdf, Test4.pdf
>
>
> Some PDF files are correctly processed by PDFBox as DeviceRGB and the font
> color can be retrieved. Other DeviceRGB files that can be viewed by Acrobat
> Reader as fonts with various colors are treated as DeviceGray by PDFBox. An
> example of creating such a file which is listed as DeviceGray is with Word
> 2010 and then saving as using the MinimumSize option. An example of creating
> a file which is recognized by PDFBox is to save Standard. I believe either
> case should be recognized as DeviceRGB
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira