Home:ALL Converter>Extract stamp from PDF in python as jpg

Extract stamp from PDF in python as jpg

Ask Time:2021-05-20T22:20:23         Author:François GILLOT

Json Formatter

I got a problem. Some images that I need to extract from pdf are not as image to pdf, but as Stamp. I got lots of PDF, and I want to extract all stamps and all images from these PDF (I had a script for all images but not for all stamps). I just want the JPG of these stamps, but I don't know how I can parse these PDF and extract all Stamp in JPG format. I want to do this in python 3.

Thanks a lot! Regards,

Author:François GILLOT,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/67622246/extract-stamp-from-pdf-in-python-as-jpg
yy