GcDocs.Imaging.Skia
7.1.4
See the version list below for details.
dotnet add package GcDocs.Imaging.Skia --version 7.1.4
NuGet\Install-Package GcDocs.Imaging.Skia -Version 7.1.4
<PackageReference Include="GcDocs.Imaging.Skia" Version="7.1.4" />
paket add GcDocs.Imaging.Skia --version 7.1.4
#r "nuget: GcDocs.Imaging.Skia, 7.1.4"
// Install GcDocs.Imaging.Skia as a Cake Addin #addin nuget:?package=GcDocs.Imaging.Skia&version=7.1.4 // Install GcDocs.Imaging.Skia as a Cake Tool #tool nuget:?package=GcDocs.Imaging.Skia&version=7.1.4
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.1.4)
- 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.1.4)
- 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 | 69 | 10/23/2024 |
7.2.3 | 82 | 10/9/2024 |
7.2.2 | 97 | 9/20/2024 |
7.2.1 | 103 | 9/3/2024 |
7.2.0 | 120 | 8/19/2024 |
7.1.4 | 84 | 7/24/2024 |
7.1.3 | 78 | 6/26/2024 |
7.1.2 | 97 | 5/29/2024 |
7.1.1 | 114 | 4/24/2024 |
7.1.0 | 108 | 4/15/2024 |
7.0.4 | 109 | 3/22/2024 |
7.0.3 | 109 | 2/19/2024 |
7.0.2 | 124 | 1/25/2024 |
7.0.1 | 154 | 1/5/2024 |
7.0.0 | 151 | 12/11/2023 |
# 重要信息
- 这是 GcDocs.Imaging.Skia 软件包的首次发布,该软件包由 GrapeCity.Documents.Imaging.Skia 更名而来。
- GcDocs.Imaging.Skia 与 GrapeCity.Documents.Imaging.Skia 的功能保持一致,并且与 GrapeCity.Documents.Imaging.Skia 保持兼容,未来我们将持续对 GcDocs.Imaging.Skia 添加新功能并进行维护。
- GcDocs.Imaging.Skia 与 GrapeCity.Documents.Imaging.Skia 使用相同的授权策略,如果在您的升级中,遇到任何授权问题,可以发送邮件至 info.xa@grapecity.com 联系我们获取帮助。
# Changes since version 7.1.3:
## Changed
- Synced version with other Document Solutions packages.