You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is no way to pause/adjust the playback speed of animating GIFs/webps. I suggest adding descriptors something along the lines of the following:
image-animation-speed: auto | <time-percentage>
Multiply the natural playback speed of the image by this value, speeding it up (> 100%), slowing it down (< 100%), pausing it (= 0), or reversing it (< 0%).
image-animation-clip-start: <time-percentage>
Clip off the specified amount of time from the start of the animation, so those frames are skipped. The duration decreases by this value.
image-animation-clip-end: <time-percentage>
Clip off the specified amount of time from the end of the animation, so those frames are skipped. The duration decreases by this value.
image-animation-duration: auto | <time>
Makes the animation play for the specified duration.
image-animation-paused-at: <time-percentage>
Alternative name: image-animation-stopped-at
Image is paused at the fame at the given time (based on the natural playback speed). If a number or a percent, the image is paused at the position that portion through the image's animation (so 1 or 100% is the last frame of the animation, and 0 or 0% is the first. 50% is the middle frame). If this property is later removed from the image, the image will continue animating from this frame (it won't start over).
Adding these properties would allow web developers to control the playback of GIF and Webp images, which is currently impossible.
The text was updated successfully, but these errors were encountered:
Among other things with this, it will be possible to easily improve web accessibility for authors by pausing animated images, which today requires the overhead of providing an alternative non-animated image for a reduced motion media query. User agents or users themselves, through a style sheet, will be able to adapt the movement to the needs of the user in a declarative way.
Currently there is no way to pause/adjust the playback speed of animating GIFs/webps. I suggest adding descriptors something along the lines of the following:
image-animation-speed: auto | <time-percentage>
Multiply the natural playback speed of the image by this value, speeding it up (> 100%), slowing it down (< 100%), pausing it (= 0), or reversing it (< 0%).
image-animation-clip-start: <time-percentage>
Clip off the specified amount of time from the start of the animation, so those frames are skipped. The duration decreases by this value.
image-animation-clip-end: <time-percentage>
Clip off the specified amount of time from the end of the animation, so those frames are skipped. The duration decreases by this value.
image-animation-duration: auto | <time>
Makes the animation play for the specified duration.
image-animation-paused-at: <time-percentage>
Alternative name:
image-animation-stopped-at
Image is paused at the fame at the given time (based on the natural playback speed). If a number or a percent, the image is paused at the position that portion through the image's animation (so 1 or 100% is the last frame of the animation, and 0 or 0% is the first. 50% is the middle frame). If this property is later removed from the image, the image will continue animating from this frame (it won't start over).
Adding these properties would allow web developers to control the playback of GIF and Webp images, which is currently impossible.
The text was updated successfully, but these errors were encountered: