Skip to content
Advertisement

How to save an image list in PDF using PIL (pillow)?

I want use PIL .save() method for export my PIL image list to pdf.

in the PIL document , saving part say: enter image description here => we can use append_images option for pdf format.

and in pillow’s github page , this issue say : Added append_images to PDF saving #2526

I wrote this code:

JavaScript

but it doesn’t work!

These errors raised:

JavaScript

Advertisement

Answer

This problem is solved in PIL ver 5.0.0 (https://pillow.readthedocs.io/en/latest/).

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement