[
https://issues.apache.org/jira/browse/PDFBOX-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13785031#comment-13785031
]
Tilman Hausherr commented on PDFBOX-1736:
-----------------------------------------
How about this?
http://stackoverflow.com/questions/5861471/getting-text-colour-with-pdfbox
Its the technique that is also used in the source code, in PageDrawer.java
Btw you might want to ask such questions in the user mailing list.
https://mail-archives.apache.org/mod_mbox/pdfbox-users/
> I need urgently to extract text color from pdf file
> ---------------------------------------------------
>
> Key: PDFBOX-1736
> URL: https://issues.apache.org/jira/browse/PDFBOX-1736
> Project: PDFBox
> Issue Type: Task
> Components: PDFReader, Text extraction
> Affects Versions: 1.8.2
> Environment: Windows 7,JDK1.7,Netbeans7.1,PDFBox1.8.2
> Reporter: Mohammed Mostafa
> Priority: Critical
> Labels: Java, pdfbox
> Fix For: 1.8.2
>
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> I am working now in project to convert pdf to html format, I am using pdfbox
> to extract text from pdf , by using TextPosition class in pdfbox I extracted
> text, font,size,coordinates and others but i didn't find any method to get
> text color!!,
> I don't know why??
> I did many search and many attempts about this issue but I didn't find any
> solution!
> please need urgent reply because it is very urgent issue.
> Thanks,
> Mohammed
--
This message was sent by Atlassian JIRA
(v6.1#6144)