SimdImaging.Abstractions
0.1.0-alpha
dotnet add package SimdImaging.Abstractions --version 0.1.0-alpha
NuGet\Install-Package SimdImaging.Abstractions -Version 0.1.0-alpha
<PackageReference Include="SimdImaging.Abstractions" Version="0.1.0-alpha" />
<PackageVersion Include="SimdImaging.Abstractions" Version="0.1.0-alpha" />
<PackageReference Include="SimdImaging.Abstractions" />
paket add SimdImaging.Abstractions --version 0.1.0-alpha
#r "nuget: SimdImaging.Abstractions, 0.1.0-alpha"
#:package SimdImaging.Abstractions@0.1.0-alpha
#addin nuget:?package=SimdImaging.Abstractions&version=0.1.0-alpha&prerelease
#tool nuget:?package=SimdImaging.Abstractions&version=0.1.0-alpha&prerelease
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 | 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
- Sdcb.SimdCodecs.Abstractions (>= 2.1.0)
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 |