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

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

web applications - Making Python scripts work on MAMP -

cocoa - Converting NSString to keyCode+modifiers for AXUIElementPostKeyboardEvent -