SimdImaging.Abstractions 0.1.0-alpha

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

SimdImaging.Abstractions

SimdImaging 的公共契约层:工作格式、池化像素缓冲、算子契约与选项类型。

通常不需要单独安装——引用 SimdImaging 时会自动带上。只有在你写自定义算子、或需要在不依赖 SimdImaging 的情况下操作像素缓冲时,才直接引用本包。

内容

类型 用途
WorkingFormat / WorkingFormatMask 三个工作格式:Rgba8 / Rgba16 / Rgba32F
WorkingBuffer 池化像素缓冲,实现 IMemoryOwner<byte>,带 stride,可零拷贝交给编码器
IPixelPool / ArrayPixelPool 缓冲池契约与默认实现
PixelView 非拥有权的像素视图(Span<byte> + stride + 尺寸)
LoadOptions / SaveOptions 解码与编码选项:ScaleDenominator、ApplyOrientation、Region、MaxPixels、JpegQuality 等
BorderMode / EdgeMode / Morphology / SampleDomain / SampleAaMode 算子参数枚举
IRowSource / IRowSink / IRegionSource / IRegionSink 行带与区域流式的接缝
ExecuteOptions / ExecutionPolicy / ExecutionReport 执行控制与诊断报告
WorkspaceManager 工作集预算与预留账户
ColorPalette / AlphaMode / OutOfGamutPolicy 调色板与色彩策略

依赖

只依赖 Sdcb.SimdCodecs.Abstractions(PixelFormat / SampleFormat / ImageInfo)。不引用编解码实现,也不引用 SimdImaging.Processing——依赖方向是单向的。

版本

0.1.0-alpha,与 SimdImaging 及 SimdImaging.Processing 同步发布。

许可

Apache-2.0。

Product 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. 
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 SimdImaging.Abstractions:

Package Downloads
SimdImaging.Processing

Pixel operators for SimdImaging: geometry (crop, pad, flip, rotate, resample), alpha handling and composition. Operators take PixelView and never know about files or codecs.

SimdImaging

Managed .NET image processing layer over Sdcb.SimdCodecs: load, save and the operator pipeline. Pure managed, NativeAOT-first, three working formats (Rgba8 / Rgba16 / Rgba32F).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0-alpha 70 11/29/2026