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
Hi Prasanth,
you can refer the below links for your solution which helps to read text and decode the content.
https://community.intersystems.com/post/extract-text-file
Converting the Base64 stream to a pdf is trivial, extracting and searching text inside a pdf....can be hard to (almost) impossible.
Enrico
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.