Out of the box thumbor uses the Python Imaging Libary (PIL), it also supports OpenCV and GraphicsMagick.
Description
Description
Details
Details
Related Changes in Gerrit:
| Subject | Author | Repo | Branch | Lines +/- | |
|---|---|---|---|---|---|
| Thumbor OpenCV engine | Gilles | mediawiki/vagrant | master | +19 -2 |
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | • Gilles | T77697 Investigate Swift replacement for thumbnails | |||
| Resolved | • Gilles | T121388 Service-based thumbnailing re-architecture in production with Thumbor | |||
| Resolved | • Gilles | T111718 Service-based thumbnailing re-architecture on Vagrant | |||
| Resolved | • Gilles | T110858 Investigate thumbor | |||
| Resolved | • Gilles | T111005 Purging in Thumbor | |||
| Resolved | hashar | T117955 can't install libcurl-dev on Jessie | |||
| Resolved | • Gilles | T118439 File-based result storage for Thumbor with hash-based file layout | |||
| Invalid | • Gilles | T118440 Hook up Thumbor purging to Mediawiki purging | |||
| Resolved | • Gilles | T111009 Compare performance of thumbor rendering engines |
Event Timeline
Comment Actions
The engines don't seem to be well maintained, the GraphicsMagick exhibits a but with the RESPECT_ORIENTATION option (filed https://github.com/thumbor/graphicsmagick-engine/issues/5 ). It doesn't seem to be particularly faster than PIL anyway.
The OpenCV engine doesn't have that bug and seems to work about twice as fast as PIL. However it dropped the ICC profile when it shouldn't have (filed https://github.com/thumbor/opencv-engine/issues/16 ).
While the OpenCV engine sports a huge performance boost, the fact that it doesn't support ICC profiles properly is a sign that those alternative engines aren't as well maintained as Thumbor's built-in PIL one. We'd have to fix ICC support upstream before being able to use the OpenCV engine.