]> cat aescling's git repositories - mastodon.git/commit
Force convert to JPG for preview card thumbnails to avoid animations (#7109)
authorEugen Rochko <eugen@zeonfederated.com>
Sat, 21 Apr 2018 19:34:36 +0000 (21:34 +0200)
committerGitHub <noreply@github.com>
Sat, 21 Apr 2018 19:34:36 +0000 (21:34 +0200)
commitbfe26ef67b6ee2ce4a4ca05565cd383074de3a8b
tree7ffb0039574fd5f34a87c09907c772b89b26f678
parent1a27f9f46fb751fa4b3bff9aff3d712bb04b1481
Force convert to JPG for preview card thumbnails to avoid animations (#7109)

* Force convert to JPG for preview card thumbnails to avoid animations

Fix #7093

* Conditionally convert to JPG only if original is GIF
Coalesce and strip on all formats to ensure no animated APNGs
app/models/preview_card.rb