SimdSkia.Imaging 0.1.0-preview.8

This is a prerelease version of SimdSkia.Imaging.
dotnet add package SimdSkia.Imaging --version 0.1.0-preview.8
                    
NuGet\Install-Package SimdSkia.Imaging -Version 0.1.0-preview.8
                    
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="SimdSkia.Imaging" Version="0.1.0-preview.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="SimdSkia.Imaging" Version="0.1.0-preview.8" />
                    
Directory.Packages.props
<PackageReference Include="SimdSkia.Imaging" />
                    
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 SimdSkia.Imaging --version 0.1.0-preview.8
                    
#r "nuget: SimdSkia.Imaging, 0.1.0-preview.8"
                    
#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 SimdSkia.Imaging@0.1.0-preview.8
                    
#: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=SimdSkia.Imaging&version=0.1.0-preview.8&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=SimdSkia.Imaging&version=0.1.0-preview.8&prerelease
                    
Install as a Cake Tool

SimdSkia preview

0.1.0-preview.8 更新说明 / What's new

  • 通用 x64:SSE2 字形/图像合成与采样、精确填充、字形串缓存及画布分配优化,保留 AVX2/标量回退。
  • 本机固定 Avalonia 场景:CPU 吞吐综合耗时低于原版 4.4%,最慢场景落后 3.8%。Vulkan / Direct2D JIT 离屏完成帧含等待与回读低 29.8% / 35.3%;不代表任意场景或窗口呈现。
  • 60 FPS 滚动分配 155.14→28.05 KiB/帧,原版 12.87;普通控件工作集 79.89 vs 原版 60.91 MiB,常驻内存未追平。
  • 471,569 项精确检查、真实 Avalonia/GPU 功能和 460,050 项真实 AOT 采样通过;原版整页画质通过数仍为 CPU 0/5、GPU 0/12,完整画质未达标,未改判为成功。
  • 仍为实验性预览版;字体、完整公共 API、macOS GPU 等限制保留,Avalonia 固定 12.1.4。完整数据与适用范围。

Every package includes CHANGELOG.md and NuGet release notes. See the complete release notes and final quality/performance report for test hardware, scope and limitations. This release adds precise eight-pixel AVX2 image filtering with scalar fallback and fixes alpha image blending; it does not claim universal renderer parity or lower resident memory.

An independent C# 2D renderer. No Google Skia rendering calls. This release is a preview: public API coverage, font support and rendering equivalence are incomplete. It is not a binary replacement for the strong-named SkiaSharp assembly.

Packages target .NET 8 or later:

Package Purpose
SimdSkia Convenience package for the source compatibility facade
SimdSkia.Core Geometry, commands and pixel storage
SimdSkia.Cpu Scalar/SIMD CPU rasterization and composition
SimdSkia.Text Managed static glyf TrueType parsing and basic Latin/CJK layout
SimdSkia.Imaging Managed PNG/JPEG and supported color conversion
SimdSkia.Gpu Vulkan offscreen rendering; requires the system Vulkan loader/driver
SimdSkia.Compatibility Implemented SkiaSharp namespace / SK* facade
SimdSkia.Avalonia Rendering/font adapter pinned to Avalonia 12.1.4
SimdSkia.Avalonia.Desktop Windows/Linux X11/macOS OS hosts plus the managed renderer
SimdSkia.Avalonia.Gpu Optional Direct2D native presentation / Vulkan framebuffer drawing
SimdSkia.Gpu.Direct2D Windows hardware Direct2D/D3D11 canvas, C# system API bindings
dotnet add package SimdSkia.Avalonia.Desktop --version 0.1.0-preview.8

An existing Avalonia 12.1.4 application selects the adapter explicitly:

using SimdSkia.Avalonia;

AppBuilder.Configure<App>()
    .UseSimdSkiaDesktop()
    .StartWithClassicDesktopLifetime(args);

Windows uses its current message font; Linux/macOS discover supported installed static TrueType families. Explicit options.FontFiles.Add(path) overrides automatic selection. Parsing, shaping, glyph coverage and codecs remain C#. Chinese text needs a supported installed Chinese font. Complex shaping, CFF/variable/color fonts and hinting have gaps.

Startup preparation is enabled by default. To disable it for diagnosis, use .UseSimdSkiaDesktop(options => options.EnableStartupPreparation = false). It does not hide the window or add a placeholder frame. Keep all directly referenced SimdSkia packages on version 0.1.0-preview.8 and all Avalonia packages on 12.1.4.

The base adapter provides rendering/font services. The Desktop package supplies OS host selection without Skia/HarfBuzz/ANGLE packages. macOS uses the official MIT libAvaloniaNative window bridge, an explicit window-host exception; application drawing/fonts are managed. The optional GPU adapter defaults Direct2D to a native Windows swapchain; Vulkan currently waits for completion and reads back to the OS framebuffer. macOS GPU/Metal is not implemented. GPU glyphs normally use a managed atlas, and CPU layers/fallbacks are reported. See the complete quick start.

SimdSkia and SimdSkia.Compatibility expose only the implemented SK* subset. Do not reference them together with the original SkiaSharp types in the same compilation. Avalonia users normally need only the adapter, not the SK* facade.

MIT licensed. Third-party components retain their own licenses and notices, included in the relevant packages. See the repository's validation and remaining gaps.

Product Compatible and additional computed target framework versions.
.NET 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 was computed.  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 was computed.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on SimdSkia.Imaging:

Package Downloads
SimdSkia.Avalonia

Preview C# rendering/font services for Avalonia 12.1.4. Windows/Linux/macOS installed-font discovery. Add SimdSkia.Avalonia.Desktop for OS window hosts and SimdSkia.Avalonia.Gpu for optional hardware drawing. Incomplete compatibility.

SimdSkia.Compatibility

Experimental managed C# 2D rendering components. Preview only; API and rendering compatibility are incomplete. No Google Skia rendering dependency.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-preview.8 0 10/27/2026
0.1.0-preview.7 0 10/26/2026
0.1.0-preview.6 64 10/22/2026
0.1.0-preview.5 66 10/22/2026
0.1.0-preview.4 68 10/21/2026
0.1.0-preview.3 63 10/21/2026
0.1.0-preview.2 65 10/21/2026
0.1.0-preview.1 60 10/21/2026

Preview 8 / 预览版 8:优化通用 x64 SSE2 字形/图像合成与采样、填充、字形串缓存和画布分配。固定 Avalonia 控件 CPU 吞吐综合耗时比原版低 4.4%,最慢场景落后 3.8%;Vulkan/Direct2D JIT 离屏完成帧含回读低 29.8%/35.3%,仅限报告硬件和场景,不代表窗口呈现。60 FPS 滚动分配 155.14→28.05 KiB/帧;普通控件工作集仍 79.89 vs 原版 60.91 MiB。整页画质、字体和完整 API 仍有缺口,非完全兼容版本;Avalonia 固定 12.1.4。完整测试与限制见包内 CHANGELOG.md、README.md 和 https://github.com/hnlyf168/SimdSkia/blob/main/docs/RELEASE-NOTES.md