AnimationImage.WPF 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AnimationImage.WPF --version 1.0.0
                    
NuGet\Install-Package AnimationImage.WPF -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AnimationImage.WPF" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AnimationImage.WPF" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="AnimationImage.WPF" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AnimationImage.WPF --version 1.0.0
                    
#r "nuget: AnimationImage.WPF, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AnimationImage.WPF@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AnimationImage.WPF&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=AnimationImage.WPF&version=1.0.0
                    
Install as a Cake Tool

AnimationImage

基于 SkiaSharp 的 WPF & Avalonia 极简动图播放方案

License

🚀 简介

AnimationImage 是一个专为 WPF 和 AvaloniaUI 打造的动图解决方案。基于 SkiaSharp ,性能优秀。

它支持播放 Lottie (JSON)、GIF 和 WebP 格式,相比现有方案,具有更高的帧率、更佳的渲染性能以及更低的内存占用。

✨ 核心特性

  • 多平台支持:支持 WPF 和 AvaloniaUI(目前未对移动端进行测试)。
  • 多格式兼容:支持 Lottie、GIF、WebP 动画格式。
  • 极致性能:动图利用SKCodec流式加载,逐帧解码。Lottie则利用Skottie,极致流畅。
  • 高帧率体验:WPF支持强制帧率,当硬件支持时,可以达到更高的帧率(而非默认的60)。AvaloniaUI则默认以最高帧率运行,无需此设置。
  • 极简 API:通过附加属性或标记扩展,即可集成,使用原生Image控件作为渲染器: <Image ani:AnimationBehavior.AnimatableBitmap="[path]"/>
  • 灵活控制:支持预加载帧数配置、自动播放、循环次数控制等。

Product Compatible and additional computed target framework versions.
.NET net6.0-windows7.0 is compatible.  net7.0-windows was computed.  net8.0-windows was computed.  net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
3.1.1 156 7/15/2026
3.1.0 134 7/14/2026
2.1.0 142 6/13/2026
2.0.0 143 6/10/2026
1.0.7 138 5/30/2026
1.0.6 138 5/29/2026
1.0.5 137 5/28/2026
1.0.4 125 5/27/2026
1.0.3 150 5/26/2026 1.0.3 is deprecated because it has critical bugs.
1.0.2 135 5/25/2026
1.0.1 124 5/24/2026
1.0.0 125 5/24/2026