We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1baba9e + 715297c commit efd0c8eCopy full SHA for efd0c8e
src/ImageSharp/Formats/Webp/WebpFrameMetadata.cs
@@ -48,7 +48,7 @@ private WebpFrameMetadata(WebpFrameMetadata other)
48
internal static WebpFrameMetadata FromAnimatedMetadata(AnimatedImageFrameMetadata metadata)
49
=> new()
50
{
51
- FrameDelay = (uint)metadata.Duration.Milliseconds,
+ FrameDelay = (uint)metadata.Duration.TotalMilliseconds,
52
BlendMethod = metadata.BlendMode == FrameBlendMode.Source ? WebpBlendMethod.Source : WebpBlendMethod.Over,
53
DisposalMethod = metadata.DisposalMode == FrameDisposalMode.RestoreToBackground ? WebpDisposalMethod.RestoreToBackground : WebpDisposalMethod.DoNotDispose
54
};
0 commit comments