Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imagemagick, Wand > Pillow #59

Open
nordbit opened this issue Sep 5, 2014 · 7 comments
Open

imagemagick, Wand > Pillow #59

nordbit opened this issue Sep 5, 2014 · 7 comments
Labels

Comments

@nordbit
Copy link

nordbit commented Sep 5, 2014

Little suggestion - PIL/Pillow can't be used for serious real high quality thubnails. I tested many backends and options, where quality of images are critica important to project (like website for photographers) - only imagemagick is usuable and provide thubnails with good enought quality.

@melinath
Copy link
Owner

melinath commented Sep 5, 2014

We would certainly welcome patches for additional ImageMagick support.

@harrislapiroff
Copy link
Contributor

It would definitely be nice for us to be able to support multiple image processing backends and provide a normalized interface for them. Does functionality vary much between Pillow and ImageMagick and whatever else is out there?

@melinath
Copy link
Owner

I've been reticent to add ImageMagick support because it's such a PITA to use. But Wand looks like it makes things a lot easier. Maybe the time has come.

@harrislapiroff Sorl-thumbnail's breakdown of their different engines: http://sorl-thumbnail.readthedocs.org/en/latest/reference/settings.html#thumbnail-engine

@harrislapiroff
Copy link
Contributor

This looks like a useful library that might obviate the necessity for writing our own swappable backends. https://github.com/torchbox/Willow

@harrislapiroff
Copy link
Contributor

Willow integration would also make #54 easier.

Thought it looks like Willow defaults to Pillow and uses Wand as a fallback. Not sure yet if that's configurable or why it does it that way since Wand should be faster.

@melinath
Copy link
Owner

melinath commented Apr 3, 2015

Willow seems to prefer Pillow for png / jpeg / bmp and Wand for gifs.

@melinath
Copy link
Owner

melinath commented Apr 3, 2015

Unfortunately, we can't just drop Willow in. We currently read EXIF tags, compare images, and use custom Pillow-based parsing to figure out the dimensions of a file quickly, none of which is natively supported by Willow. But I'm sure there are ways to do the same things with Wand... so we could potentially try to get support added to Willow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants