GIF to video conversion
This guide covers the way Optimole is processing gif images.
What processing do we do to GIF images?
- We extract the first frame to use as a placeholder and a base for the low-quality image used for lazy-loading.
- We convert GIF to WebP, WebM, and mp4
- If the `<video/>` tag is NOT used we try to serve WebP and lazy-load like a regular image.
- If the `<video/>` tag IS used we use the first frame as a poster image and let the Browser decide what source to use WebM or mp4
Advice: use the gif to video option if you do not have any custom styling that is only available for the </img> tag since it will further improve your page speed.