Question Prasanth Annamreddy · Oct 3, 2023

How to Read a Desired text from the Base64 content

Hi,

I want to search for a particular text(Ex : Clinician Code) in the PDF which is in Encoded Base 64 format.

Can it possible to read and filter the text and please provide a sample code for this?

Thanks for your time to help on this!

Product version: IRIS 2020.1

Comments

Enrico Parisi · Oct 3, 2023

Converting the Base64 stream to a pdf is trivial, extracting and searching text inside a pdf....can be hard to (almost) impossible.

Enrico

0
Dmitry Maslennikov  Oct 3, 2023 to Enrico Parisi

It's tricky but not impossible, but obviously not in ObjectScript. Requires additional tools, which should be plenty, now with Python Embedded, it should not be an issue, even with image-based PDFs, which will require OCR.

0