Adding PIL Library to Ignition

Hello,

We have an inspection machine (with Ignition HMI) that generates a lot of png files. I’m tasked to put these images in a multi-page pdf for each serial number and move them to other location. I’m trying to figure out how to do it in Ignition.

While googling I came across this discussion. There is example using PIL module that I want to implement in Ignition.

PIL can only be downloaded as exe file and requires python 2.7 to be installed. So I’ve installed 2.7 then PIL. I then copied PIL folder and PIL.pth file from C:\Python27\Lib\site-packages to C:\Program Files\Inductive Automation\Ignition\user-lib\pylib\site-packages but that didn’t work.

What is a proper way to install third party packages in Ignition?

Perhaps, there is another way to create multi-page pdf from set of images in Ignition?

Any help is appreciated!

Thank you,
Peter

Create a report that displays images from a dataset. You can fill that dataset through script.

1 Like

That sounds like a good idea @jpark, I’ll give it a try. Thank you.