AnimatedImage.Avalonia
2.1.4
dotnet add package AnimatedImage.Avalonia --version 2.1.4
NuGet\Install-Package AnimatedImage.Avalonia -Version 2.1.4
<PackageReference Include="AnimatedImage.Avalonia" Version="2.1.4" />
<PackageVersion Include="AnimatedImage.Avalonia" Version="2.1.4" />
<PackageReference Include="AnimatedImage.Avalonia" />
paket add AnimatedImage.Avalonia --version 2.1.4
#r "nuget: AnimatedImage.Avalonia, 2.1.4"
#:package AnimatedImage.Avalonia@2.1.4
#addin nuget:?package=AnimatedImage.Avalonia&version=2.1.4
#tool nuget:?package=AnimatedImage.Avalonia&version=2.1.4
A simple library to display animated GIF images, animated PNG images and animated WEBP images in AvaloniaUI, usable in XAML or in code.
How to use
It's very easy to use: in XAML, instead of setting the Source property, set the AnimatedSource attached property to the image you want:
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:anim="https://github.com/whistyun/AnimatedImage.Avalonia"
Title="MainWindow" Height="350" Width="525">
<Grid>
<Image anim:ImageBehavior.AnimatedSource="Images/animated.gif" />
You can also specify the repeat behavior (the default is 0x, which means it will use the repeat count from the GIF metadata):
<Image anim:ImageBehavior.RepeatBehavior="3x"
anim:ImageBehavior.AnimatedSource="Images/animated.gif" />
WebP supporting
To use WebP, AnimatedImage.Native library is required.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp3.1 is compatible. |
| .NET Framework | net462 is compatible. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
-
.NETCoreApp 3.1
- AnimatedImage (>= 2.1.4)
- Avalonia (>= 11.0.0)
- SharpCompress (>= 0.36.0)
-
.NETFramework 4.6.2
- AnimatedImage (>= 2.1.4)
- Avalonia (>= 11.0.0)
- SharpCompress (>= 0.36.0)
-
.NETFramework 4.7.2
- AnimatedImage (>= 2.1.4)
- Avalonia (>= 11.0.0)
-
net10.0
- AnimatedImage (>= 2.1.4)
- Avalonia (>= 11.0.0)
-
net8.0
- AnimatedImage (>= 2.1.4)
- Avalonia (>= 11.0.0)
-
net9.0
- AnimatedImage (>= 2.1.4)
- Avalonia (>= 11.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on AnimatedImage.Avalonia:
| Package | Downloads |
|---|---|
|
CodeWF.Markdown
基于 Avalonia 12 的 Markdown 解析与渲染控件,支持常规 Markdown 元素、代码高亮、规范样式 Key 与增量渲染。Avalonia Markdown viewer with common Markdown rendering hooks and incremental rendering. |
|
|
CodeWF.Markdown.Themes
CodeWF.Markdown 的配套排版主题资源,内置多套公众号/技术文档风格,并适配 Avalonia 明暗主题。Typography themes for CodeWF.Markdown. |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on AnimatedImage.Avalonia:
| Repository | Stars |
|---|---|
|
SirDiabo/GithubLauncher
A Launcher that Downloads and Updates Applications from Github Releases
|
|
|
nor0x/Dots
the 🙂 friendly .NET SDK manager
|