Fork me on GitHub

DynamicImage

A high-performance image manipulation library for ASP.NET


What is it?

DynamicImage helps you simplify the way you deal with images in your ASP.NET websites. DynamicImage uses Windows Presentation Foundation (WPF) internally for bitmap manipulation. Most of the filters are written as WPF shader effects, which are compiled into fast SSE instructions, and run with good performance in a server environment.

string imageUrl = new CompositionBuilder()
	.WithLayer(LayerBuilder.Image.SourceFile("myimage.png")
		.WithFilter(FilterBuilder.Resize.ToWidth(800))
	)
	.WithLayer(LayerBuilder.Text.Text("Hello World")
		.WithFilter(FilterBuilder.OuterGlow)
	).Url;

Getting Started

The easiest way to get started is using NuGet. The two basic packages are:

Each extension has its own NuGet package:

For more details, see the getting started guide.

Requirements

DynamicImage requires .NET 4.0 or above.

If you are using DynamicImage in an ASP.NET website hosted in IIS, you must enable Integrated Mode.

Source Code & License

DynamicImage is an open source project. The source code is available on GitHub.

DynamicImage is dual-licensed under either the Apache License, Version 2.0, or the Microsoft Public License (Ms-PL). Some extensions use 3rd party components that have different license requirements.