GcDocs.Imaging.Skia
7.2.2
See the version list below for details.
dotnet add package GcDocs.Imaging.Skia --version 7.2.2
NuGet\Install-Package GcDocs.Imaging.Skia -Version 7.2.2
<PackageReference Include="GcDocs.Imaging.Skia" Version="7.2.2" />
paket add GcDocs.Imaging.Skia --version 7.2.2
#r "nuget: GcDocs.Imaging.Skia, 7.2.2"
// Install GcDocs.Imaging.Skia as a Cake Addin #addin nuget:?package=GcDocs.Imaging.Skia&version=7.2.2 // Install GcDocs.Imaging.Skia as a Cake Tool #tool nuget:?package=GcDocs.Imaging.Skia&version=7.2.2
GcDocs.Imaging.Skia
这个库是一个跨平台的渲染引擎,用于绘制文本和图形。它基于 SkiaSharp,并提供了与 GcImaging 类似且可互操作的对象模型。
这个库的主要类包括 GcSkiaBitmap、GcSkiaImage 和 GcSkiaGraphics,可以替代 GcImaging 中的相应类。
GcSkiaBitmap 表示内存中的位图。它类似于 GcBitmap,但内部封装了 SkiaSharp 的 SKBitmap 对象实例。GcSkiaBitmap 可以加载和保存 JPEG、PNG 和 WEBP 格式的图像。GcSkiaBitmap 可以转换为 GcBitmap 或 GcSkiaImage,反之亦然。要在 GcSkiaBitmap 上进行绘制,调用 CreateGraphics() 方法返回一个关联的 GcSkiaGraphics 实例,用于绘制操作。
GcSkiaImage 表示基于 SKImage 的不可变图像。它是 GcSkiaBitmap 的轻量级版本,不支持修改。GcSkiaImage 可以加载和保存与 GcSkiaBitmap 相同的格式。它也可以转换为 GcBitmap 或 GcSkiaBitmap。GcSkiaImage 和 GcSkiaBitmap 都实现了 IImage 接口,因此可以呈现在任何派生自 GcGraphics 的类的实例上。
GcSkiaGraphics 是从 GcGraphics 派生的绘制类。可以直接创建 GcSkiaGraphics 实例,也可以从 GcSkiaBitmap 创建。如果 GcSkiaGraphics 实例是从 GcSkiaBitmap 创建的,在所有绘制完成后可以进行释放。如果 GcSkiaGraphics 实例是直接创建的,可以调用 ToSkiaImage() 或 ToGcBitmap() 方法获取当前绘制的快照。
如果要在多个 GcSkiaGraphics 实例上绘制文本,请确保创建一个共享的 SkiaFontCache 对象,并将其分配给所有实例的 FontCache 属性。
这个库兼容 .NET 7、.NET 6、.NET Core 3.1、.NET Standard 2.x、.NET Framework 4.6.1 或更高版本。
所有功能在 Windows、macOS 和 Linux 上得到全面支持。
GcDocs 服务端组件
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 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- GcDocs.Imaging (= 7.2.2)
- SkiaSharp (>= 2.88.6)
- SkiaSharp.NativeAssets.Linux (>= 2.88.6)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.5)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.5.3)
-
.NETStandard 2.0
- GcDocs.Imaging (= 7.2.2)
- SkiaSharp (>= 2.88.6)
- SkiaSharp.NativeAssets.Linux (>= 2.88.6)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.5)
- System.Numerics.Vectors (>= 4.4.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.5.3)
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 |
---|---|---|
7.2.4 | 72 | 10/23/2024 |
7.2.3 | 85 | 10/9/2024 |
7.2.2 | 98 | 9/20/2024 |
7.2.1 | 104 | 9/3/2024 |
7.2.0 | 121 | 8/19/2024 |
7.1.4 | 85 | 7/24/2024 |
7.1.3 | 79 | 6/26/2024 |
7.1.2 | 98 | 5/29/2024 |
7.1.1 | 115 | 4/24/2024 |
7.1.0 | 109 | 4/15/2024 |
7.0.4 | 112 | 3/22/2024 |
7.0.3 | 110 | 2/19/2024 |
7.0.2 | 125 | 1/25/2024 |
7.0.1 | 154 | 1/5/2024 |
7.0.0 | 152 | 12/11/2023 |
# Changes since version 7.2.1:
## Changed
- Synced version with other Document Solutions packages.