Page MenuHomePhabricator

ImageMagick engine
Closed, ResolvedPublic


It would be used as default one instead of Pillow, to process JPGs and PNGs (it could also be in front of Pillow and take care of the resizing, we'll see).

For JPGs Pillow's performance seems abysmal compared to IM used with the right options (10x slower): P2540

The community-maintained GM engine might be a source of inspiration:

It's actually quite surprising that there's no IM engine for Thumbor. Probably because the performance boost provided by jpeg:size is so little known (it's absent from all IM python bindings, I had to monkey-patch it in).

Revisions and Commits

rTHMBREXT Thumbor Plugins
Restricted Differential Revision

Event Timeline

Gilles claimed this task.
Gilles raised the priority of this task from to Medium.
Gilles updated the task description. (Show Details)
Gilles moved this task from Inbox, needs triage to Doing (old) on the Performance-Team board.
Gilles added subscribers: intracer, Gilles, Aklapper.
Gilles added a revision: Restricted Differential Revision.Feb 6 2016, 11:41 AM

Reopening because I also need to set up vagrant to use it.

Change 269760 had a related patch set uploaded (by Gilles):
Make Thumbor use new ImageMagick engine

Change 269760 merged by jenkins-bot:
Make Thumbor use new ImageMagick engine