get background color of particular text in PDF file -


how can find out particular text's background color (rgb) of pdf file?

no such thing.

the "background color" whatever drawn behind particular piece of text, if anything. , text doesn't have text. image or paths.

the thing might work render pdf pixels (perhaps using ghostscript), , sample pixel colors around text (as determined itext). can determine fill color @ time text painted, know ignore.

the problem comes when places text on isn't solid color.

doable, painful.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -