<PackageReference Include="System.Drawing.Common" Version="9.0.5" />

ImageAnimator

public sealed class ImageAnimator
Animates an image that has time-based frames.
using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; namespace System.Drawing { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public sealed class ImageAnimator { internal ImageAnimator() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public static void Animate(Image image, EventHandler onFrameChangedHandler) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(2)] public static bool CanAnimate([System.Diagnostics.CodeAnalysis.NotNullWhen(true)] Image image) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public static void StopAnimate(Image image, EventHandler onFrameChangedHandler) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public static void UpdateFrames() { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } [System.Runtime.CompilerServices.NullableContext(2)] public static void UpdateFrames(Image image) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } }