Compressing files efficiently is hard to achieve, that’s why the newer formats will produce a smaller file size. As you said, gif is a simpler format, therefore it is less advanced at compressing file size
In particular, GIF is just a bundle of images with generic file compression slapped on top. MP4 and similar instead analyze the frames and only store the differences compared to the previous frame.
Compressing files efficiently is hard to achieve, that’s why the newer formats will produce a smaller file size. As you said, gif is a simpler format, therefore it is less advanced at compressing file size
In particular, GIF is just a bundle of images with generic file compression slapped on top. MP4 and similar instead analyze the frames and only store the differences compared to the previous frame.