ApngAsmWrapper.ImageSharp
0.1.11
dotnet add package ApngAsmWrapper.ImageSharp --version 0.1.11
NuGet\Install-Package ApngAsmWrapper.ImageSharp -Version 0.1.11
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="ApngAsmWrapper.ImageSharp" Version="0.1.11" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ApngAsmWrapper.ImageSharp" Version="0.1.11" />
<PackageReference Include="ApngAsmWrapper.ImageSharp" />
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 ApngAsmWrapper.ImageSharp --version 0.1.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ApngAsmWrapper.ImageSharp, 0.1.11"
#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 ApngAsmWrapper.ImageSharp@0.1.11
#: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=ApngAsmWrapper.ImageSharp&version=0.1.11
#tool nuget:?package=ApngAsmWrapper.ImageSharp&version=0.1.11
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
ApngAsmWrapper.ImageSharp
这是 ApngAsmWrapper 的可选扩展包:提供 ImageSharp 实现,用于把 jpg/bmp/gif/... 自动转成 PNG。
This is the optional addon package for ApngAsmWrapper that uses ImageSharp to automatically transcode non-PNG inputs to PNG.
Install
dotnet add package ApngAsmWrapper
dotnet add package ApngAsmWrapper.ImageSharp
Usage
using ApngAsmWrapper;
using ApngAsmWrapper.ImageSharp;
var req = new ApngGenerator.Builder(outputApngPath)
.WithOptions(new ApngGenerator.Options { TranscodeNonPngInputs = true })
.WithImageSharpTranscoding()
.AddFrame(@"C:\frames\a.jpg")
.AddFrame(@"C:\frames\b.png", 3, 1)
.Build();
var result = await ApngGenerator.GenerateAsync(req);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | 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. net10.0-windows7.0 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- ApngAsmWrapper (>= 0.1.11)
- SixLabors.ImageSharp (>= 3.1.12)
-
net10.0-windows7.0
- ApngAsmWrapper (>= 0.1.11)
- SixLabors.ImageSharp (>= 3.1.12)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.