RecursiveAI.OneImage.Web
1.11.1
Prefix Reserved
dotnet add package RecursiveAI.OneImage.Web --version 1.11.1
NuGet\Install-Package RecursiveAI.OneImage.Web -Version 1.11.1
<PackageReference Include="RecursiveAI.OneImage.Web" Version="1.11.1" />
<PackageVersion Include="RecursiveAI.OneImage.Web" Version="1.11.1" />
<PackageReference Include="RecursiveAI.OneImage.Web" />
paket add RecursiveAI.OneImage.Web --version 1.11.1
#r "nuget: RecursiveAI.OneImage.Web, 1.11.1"
#:package RecursiveAI.OneImage.Web@1.11.1
#addin nuget:?package=RecursiveAI.OneImage.Web&version=1.11.1
#tool nuget:?package=RecursiveAI.OneImage.Web&version=1.11.1
OneImage.Web
ASP.NET Core middleware that resizes, crops, converts and recompresses images on request, driven by URL commands, with a disk cache, conditional requests (ETag, 304), HMAC-signed URLs and request limits. Built on OneImage, a pure-managed image library: a thumbnail of a 24 MP JPEG is decoded at reduced size, and nothing native is involved.
Install
dotnet add package RecursiveAI.OneImage.Web
Target framework net10.0.
Use
using OneImage.Web;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddOneImage();
var app = builder.Build();
app.UseOneImage(); // before UseStaticFiles
app.UseStaticFiles();
app.Run();
/photos/cat.jpg?width=400
/photos/cat.jpg?w=300&h=300&fit=cover
/photos/cat.jpg?width=800&format=webp&q=80
The ImageSharp.Web query names (rmode, rsampler, xy, bgcolor and so on) work too, which makes moving from ImageSharp.Web a matter of swapping the registration calls.
- Safe by default: bounded output and source sizes, bounded concurrency, EXIF/GPS removed, unknown parameters ignored, nothing outside the provider root served.
- Signed URLs (HMAC-SHA-256/384/512), a presets-only mode, a Razor tag helper.
- Providers for the web root, any folder and any
IFileProvider, or your own; cache, cache key and hash are replaceable. - No reflection; trimmable and NativeAOT-compatible.
Full guide: commands, ImageSharp.Web compatibility, security defaults, caching
License: MIT OR 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
- RecursiveAI.OneImage (>= 1.11.1)
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 |
|---|---|---|
| 1.11.1 | 119 | 11/6/2026 |
| 1.11.0 | 110 | 11/6/2026 |
| 1.10.5 | 146 | 11/5/2026 |
| 1.10.4 | 106 | 10/30/2026 |
| 1.10.3 | 105 | 10/30/2026 |
| 1.10.2 | 115 | 10/27/2026 |
| 1.10.1 | 116 | 10/25/2026 |
| 1.10.0 | 101 | 10/24/2026 |
| 1.9.0 | 102 | 10/24/2026 |
| 1.8.1 | 101 | 10/24/2026 |
| 1.8.0 | 103 | 10/24/2026 |
| 1.7.0 | 115 | 10/23/2026 |
| 1.6.0 | 109 | 10/23/2026 |
| 1.5.0 | 104 | 10/23/2026 |
| 1.4.0 | 109 | 10/23/2026 |
| 1.3.0 | 113 | 10/23/2026 |
| 1.2.0 | 105 | 10/22/2026 |
| 1.1.0 | 108 | 10/22/2026 |
See CHANGELOG.md in the repository.