Image Crop and Resize

Hi All,



I am writing a metadata agent and it is mostly working except I need to crop and resize jpg files. Is there something within Plex I can call to do these two simple functions?



I tried installing PIL module but that didn’t work and keeps giving the following:



File “/Library/Python/2.7/site-packages/PIL/Image.py”, line 37, in getattr

ImportError: The _imaging C module is not installed



Any help appreciated.



Pipieye


this agent seemed to use it with “from PIL import Image”, import ok but same error when using…