[Podofo-users] Example of text removal or image extraction
A PDF parsing, modification and creation library.
Brought to you by:
domseichter
|
From: Jacob P. <Jac...@fo...> - 2019-11-20 14:51:35
|
Hi I have a multipage PDF containing text and images. I need to either; 1. Remove all text from PDF so only images remain. 2. Create a new PDF where I copy over images from source. Basically the result should be the same – a PDF with only the images of the original. Next I need to extract all the pages of PDF to a multipage TIFF where I specify the DPI. If text removal is possible (1), I can probably skip a step and go straight from in mem PDF without text directly to TIFF output? I will run OCR on TIFF file and this will give me some text that I need to add to original PDF using transparent ink. I have googled around but need a few pointers regarding PoDoFo – not the OCR bit 😊 Thanks /Jacob |