Meta converts gifs to jpg

When I post a gif here on meta it gets converted to jpg. This happens both when I upload it directly, or simply post a link to one:

5 Likes

This is certainly a feature.

See the png to jpg quality site setting. You can disable by setting png to jpg quality to 100

1 Like

Hmm but this is a gif, not png?

We probably need to fix the site setting name here, cc @nbianca … also we should only apply this to non animated gifs.

7 Likes

Confirmed this is removing animated gifs as they are posted.

2 Likes

I changed setting png to jpg quality to 100 and it’s still turning animated gifs into jpgs

Same. I tried changing recompress original jpg quality and image preview jpg quality to 100 to disable them as well without success. Fixing this will likely require a code change methinks (which I’m sure they’re working on now).

This was merged in about an hour ago (complete with a typo in the commit message).

animated

The merge includes a test to ensure we don’t attempt to modify animated images in the future. It will require an update to your Discourse instances to pick up the changes.

9 Likes