modifying images in a pdf file

Ethan Furman ethan at stoneleaf.us
Sun Oct 30 01:34:16 EDT 2016


I'd like to modify some images in pdf files -- specifically, extract the image, process it to give it a comic strip type of coloring (using pillow), and then put it back.

I see there are several pdf libraries, but a cursory examination did not reveal which, if any, had a method for extraction and replacement of embedded images.

Has anyone had experience with this, or can point me in the right direction?

Thanks!

--
~Ethan~



More information about the Python-list mailing list