Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.61 KB

BP_4002_en.md

File metadata and controls

52 lines (36 loc) · 1.61 KB

Limit the use of animated GIFs

Identifiers

GreenIT V2 V3 V4

Categories

Life cycle Tiers Responsible
5. Use User/Device User

Indications

Priority Implementation difficulty Ecological impact
3 3 3
Saved resources
Processor / RAM / Storage / Network

Description

Animated GIF is an animated image format dating back to 1995, which is heavier and slower than other formats such as webm or mp4 video formats. Animated webp offer a smaller size gain but is currently poorly supported by many browsers.

Example

.gif (animated) .webp (animated) .webm .mp4
Animation 1 90 Ko 74 Ko 36 Ko 38 Ko
Animation 2 5,45 Mo 2,2 Mo 274 Ko 266 Ko
<!--  Autoplay, loop and muted video  -->
<video autoplay loop muted playsinline>
  <source src="my-animation.webm" type="video/webm" />
  <source src="my-animation.mp4" type="video/mp4" />
</video>

Learn more :

Validation rule

The number of ... is equal to or less than
animated GIF files 0