Page MenuHomePhabricator

ImageMagick engine
Closed, ResolvedPublic

Description

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: https://github.com/thumbor/graphicsmagick-engine

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

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.

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

https://gerrit.wikimedia.org/r/269760

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

https://gerrit.wikimedia.org/r/269760