As designed Size increase in uploaded image (.gif)

OkanOzturk

Active member
Affected version
2.2.2
Hello there,
I want to tell you about a problem I am experiencing today in detail frankly, this is a mistake or not I'm not sure. I just wanted to evaluate it with you.

When I've upload a profile banner with .gif extension the original size of the image was incredibly high.

While watching this with surprise, I continued to investigate.
I did the same test on the other script installed on my server and the result as below.

Xenforo;
Medium
medium.webp
Large
large.webp

Other Script;
2021-01-03_22-43-57.webp

Modules;

image_2021_01_03T20_03_39_560Z.webp


Test gif;

a88c75e97daa6f1834a17dcdd68eb514.gif

I use imagick module for gif extension.
Could you please test it with the same gif.

If additional configuration is required to resolve this issue, can I get information about resources to help me?
 
As it stands, this is expected, because the image is actually sized up to the expected sizes. If an image is resized, there's not a lot we can do to control the size output of GD/ImageMagick, beyond a quality setting which we have set internally with a value we think is reasonable.

Whether or not the upsizing is necessary is a separate question and the main reason the bug is still open.
 
I've added a hint about the recommended banner dimensions to the interface, but I don't think we'll be making further changes. If the original GIF had the recommended dimensions, it likely would have been a large file anyway. Enabling image optimization results in an upscaled file size of ~451kb in my testing, smaller than the smaller source GIF.
 
Back
Top Bottom