Hi All
is it possible to extract the colored text from pdf.
for example:
There are 3 color texts in a pdf -- RED, GREEN and BLACK.
is it possible to extract text which are red and green in color?
There are all kinds of tools for manipulating PDF files.
Unfortunately, I don't have personal experience with them.
see
http://mindprod.com/jgloss/pdf.html
PostScript is similar to using Java's drawString and brothers in
PaintComponent. In PostScript, you use setrgbcolor or set hsbcolor to
load up your paintbrush with a colour. The problem is similar to
trying to extract text painted in a particular colour from Java source
using drawString. You would mostly likely do it by substituting the
paint methods and capturing parameters when you run the code. Trying
to do it statically would be extremely difficult.
--
Roedy Green Canadian Mind Products
http://mindprod.com
Never discourage anyone... who continually makes progress, no matter how slow.
~ Plato 428 BC died: 348 BC at age: 80