Skip to main content
bruce_sun
Participant
August 17, 2018
Question

Text with blue color detection in PDF document

  • August 17, 2018
  • 1 reply
  • 468 views

Hi All,

I would like to seek help if there's anyone here know if there's any SDK/API which can help detect text with blue color RGB(0,0,255) and it's location within the PDF page? We are working on a project which will need this functionality. I'm also working with Pfizer and if there's Acrobat support team colleague who sees this one, please can you reach out to me via following email? Many thanks!

[E-mail add removed by Mod. Please, Do not write any private info in public]

Bruce

This topic has been closed for replies.

1 reply

Legend
August 17, 2018

Well, a plugin can use the PDFEdit layer to get info on each graphical object including its colour space and colour. Be sure you understand the 11 colour spaces and how your criterion would be applied (for example, what if it’s ICCBased?) Detailed study of the PDF Reference is a must.

lrosenth
Adobe Employee
Adobe Employee
August 17, 2018

And there are some good samples in the Acrobat SDK that will show you how to iterate over the content of each page looking for text items and getting their properties…

Then you can make your decisions about whether it matches and what to do…