I'm creating a process that iterates over an image and does x/y transformations and zooms. The original images are very large. My current process involves making a bash script (using python) to creates rows and rows with the all-famous Imagemagick Convert. The major upside of using convert is the fact that you can load the image into memory once, then write out each frame. However, this bash script workflow is not sustainable, and I need something more native. So this begs the question:
- What is the FASTEST python processing library for image manipulations? Considering how larger the images can be, speed is the goal.
Here is where my research (and some tinkering) has led me:
Wand (Imagemagick wrapper) - Theoretically, Wand would be great! But I have found no mention of being able to read the image from memory, which makes it VERY slow.
Skimage - I'd love to use Skimage for the depth of the operations (though overkill for my needs), but I've found the API/Documentation very difficult to work with. However, the fact that you can load an image into a numpy array and get breakneck speeds (for Python, anyways), seems like a compelling argument.
PIL - Pil can be very tricky to install, which has caused a lot of trouble on a few systems I'm trying to deploy. The API, though, it's pretty darn easy. I've heard generally to stay away from PIL due to it's ongoing development woes.
Pillow - Similar to above, I've had some trouble getting Pillow working. I think I read that Pillow can conflict with PIL... maybe that's the problem?
I would love some input.