Page MenuHomePhabricator

Thumbor can't render some animated GIFs properly
Closed, ResolvedPublic

Description

Old render by Mediawiki: https://upload.wikimedia.org/wikipedia/commons/thumb/9/92/SCARA_left.gif/180px-SCARA_left.gif

Render by Thumbor: https://upload.wikimedia.org/wikipedia/commons/thumb/9/92/SCARA_left.gif/200px-SCARA_left.gif

I'm going to bet that this is due to this particular GIF being made of very fine lines.

I believe Thumbor doesn't use the same conversion tool that Mediawiki used to for animated GIFs. However, that particular page has some thumbnails that Mediawiki couldn't render before due to OOM: T63711: Out of memory for some GIF thumbnail versions of animated GIF images on Commons (exceeding the 50 MP limit?) that Thumbor "can" render now, so ideally we'd want gifsicle (what Thumbor uses) to behave properly.

More can be found on this page:

https://commons.wikimedia.org/w/index.php?title=Special%3AListFiles&limit=500&user=Pasimi&ilshowall=1

Revisions and Commits

rTHMBREXT Thumbor Plugins
Restricted Differential Revision

Event Timeline

Change 364234 had a related patch set uploaded (by Gilles; owner: Gilles):
[mediawiki/vagrant@master] Make Thumbor GIF engine configuration match production

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

Gilles added a revision: Restricted Differential Revision.Jul 10 2017, 4:23 PM

Change 364234 merged by jenkins-bot:
[mediawiki/vagrant@master] Make Thumbor GIF engine configuration match production

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

Change 364752 had a related patch set uploaded (by Gilles; owner: Gilles):
[operations/debs/python-thumbor-wikimedia@master] Upgrade to 1.0

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

Change 364752 merged by Filippo Giunchedi:
[operations/debs/python-thumbor-wikimedia@master] Upgrade to 1.0

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