xilopaint / alfred-pdf-tools

Optimize, encrypt and manipulate PDF files.
MIT License
149 stars 10 forks source link

Extract Images #29

Open JesusTheHun opened 5 months ago

JesusTheHun commented 5 months ago

I would really like to be able to extract images of a PDF using this alfred workflow.

I've look at the documentation for pypdf and it's an existing feature : https://pypdf.readthedocs.io/en/latest/user/extract-images.html. Note this requires the installation of an additional dependency pip install pypdf[image].

As a suggestion for implementation details I would suggest all images are extracted in a folder that has the name of the PDF file, without its extension.