I'm looking to convert a large directory of thumbnails.
Instead of using the PythonMagick wrapper I'd like to access the convert binary directly (I have a lot of flags, and think this would be more efficient for a large quantity of photos.)
Are there any working examples of using ImageMagick as a subprocess? Or, is there a better way to do this?
Specifically, I'm not sure how to start and end a Python subprocess from within a class. My class is called ThumbnailGenerator. I'm hoping to make something like this:
>> t = ThumbnailGenerator()
>> t.makeThumbSmall('/path/to/image.jpg')
>> True