Imgix returns bad result with gif animations

Hello,

I want to share with you a problem I encounter with some gif animations and Imgix.
For exemple, I have a gif which weight 2.8mo. If I encode it to webp using Gimp with the "Lossless" option, it result in a file which weight 1.6mo. And the quality is still exactly the same. That is good.

But if I do the same thing using Imgx (?lossless=true&fm=webp), it result in a file which weight 4.7mo ! That is very bad.The lossless option seems to do nothing, the result is the same without it.

If I use the "q" option with the value 0, the result is also 1.6mo but as expected the quality is very degraded.

Thanks,
Arnaud

1 Like