Skip to main content
Any Framework

Imageflow is a fast, server-side-safe, and correct image processing library written in Rust. This package contains only the native library; use 'Imageflow.Net' or 'Imageflow.AllPlatforms' for the managed wrapper.

Published
Feb 19, 2025
1y ago
Total Downloads
920.7K
920,727

Install

dotnet add package Imageflow.NativeRuntime.ubuntu-x86_64 --version 2.1.0-rc07

No framework information available.

README

Imageflow was designed from the ground up for web servers, to give you the fastest image optimization without compromising security or quality. Imageflow is written in Rust.

Imageflow.NET provides an easy-to-use C# API for resizing, cropping, and optimizing images, and is compatible with .NET 5/6/7/8/9, .NET 4.6.2+, and any .NET Standard 2.0 (including Xamarin, etc).

dotnet add package Imageflow.Net.All (nuget) to get started, then README.

What you want, what you really, really want

Imageflow Server, so you can add ?w=100&format=webp etc. to your image URLs and end your reponsive image woes. It gives you enterprise-grade image delivery, startup-grade ease of use, speedy disk caching (with a cutting edge WAL database designed for big files), and multi-cloud storage integration.

Seriously, it's not hard to deploy as a microservice and it's a lot better than trying to code all of that yourself, without making a security mistake.

Here, have some diagrams and marketing.


Guide to Imageflow.Net / Imageflow.NativeRuntime packages

This package version matches the Imageflow version (github) it was created with. Imageflow.Net (github) is versioned/released separately.

Packages that include Imageflow.Net + imageflow.dll (Imageflow.NativeRuntime.*)

The NativeRuntime packages also have meta packages:

If you only want to target a single os+arch combo, you can install the specific Imageflow.NativeRuntime.* package you need and Imageflow.Net separately.

.NET 4.x compatibility notes

On .NET 4.x you must install the appropriate NativeRuntime(s) in the project you are deploying - they have to copy imageflow.dll to the output folder. They are not copied transitively.

Packages.config compatibility notes

If you're still using packages.config on .NET 4.x (such as for ASP.NET projects), you have to install Imageflow.NativeRuntime.win-x86_64, etc. DIRECTLY inside your final application, since NuGet is terrible and can't handle the transitive dependencies.

PM> Install-Package Imageflow.Net
PM> Install-Package Imageflow.NativeRuntime.win-x86 -pre
PM> Install-Package Imageflow.NativeRuntime.win-x86_64 -pre

Older versions of Windows may not have the C Runtime

Older versions of Windows may not have the C Runtime installed (Install 32-bit or 64-bit).

License Terms

  • Imageflow is dual licensed under a commercial license and the AGPLv3.
  • Imageflow.NET is tri-licensed under a commercial license, the AGPLv3, and the Apache 2 license.
  • Imageflow.NET Server is dual licensed under a commercial license and the AGPLv3.
  • We offer commercial licenses at https://imageresizing.net/pricing

Why Imageflow.NET is Apache 2 licensed

Imageflow.NET's Apache 2 license allows for integration with non-copyleft products, as long as jobs are not actually executed (since the AGPLv3/commercial license is needed when libimageflow is linked at runtime). This can allow end-users to benefit from optional imageflow integration in products.

Other variants of this package

Search all of the NativeRuntime variants on nuget.org

Changes from Previous Version

No structural changes between v2.1.0-rc06 and v2.1.0-rc07.

Adoption Assessment

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

This version is marked prerelease. Validate its API and upgrade path before production use.No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.