neelabo / PhotoSauce

MagicScaler high-performance, high-quality image processing pipeline for .NET

Home Page:http://photosauce.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MagicScaler

High-performance image processing pipeline for .NET. Implements best-of-breed algorithms, linear light processing, and sharpening for the best image resizing quality available. Speed and efficiency are unmatched by anything else on the .NET platform.

Requirements

Windows 7* or later with .NET 4.6+ or .NET Core 1.0+

*Windows 7 and Windows Sever 2008 R2 are supported only with the Platform Update installed.

Installation

MagicScaler is available on nuget

PM> Install-Package PhotoSauce.MagicScaler

Usage

Basic usage looks something like this:

using (var outStream = new FileStream(@"c:\smallimage.jpg", FileMode.Create))
{
  MagicImageProcessor.ProcessImage(@"c:\bigimage.jpg", outStream, new ProcessImageSettings { Width = 400 });
}

The above example will resize bigimage.jpg to a width of 400 pixels and save the output to smallimage.jpg. The height will be set automatically to preserve the correct aspect ratio. Default settings are optimized for a balance of speed and image quality.

The MagicScaler pipleline is also customizable if you wish to use an alternate pixel source, capture the output pixels for additional processing, or add custom filtering.

See the documentation page for more details.

WebRSize

Secure, Scalable Image Resizing for ASP.NET and IIS.

Requirements

IIS 7+ with ASP.NET 4.6+. The host App Pool must be run in Integrated Pipeline Mode.

Installation

WebRSize is available on nuget

PM> Install-Package PhotoSauce.WebRSize

Usage

WebRSize must be configured in your application's web.config file. It will not activate without a valid configuration.

See the documentation page for more details.

Versioning

This project is using semantic versioning. Releases without an alpha/beta/RC tag are considered release quality and are safe for production use. The major version number will remain at 0, however, until the APIs are complete and stabilized.

Contributing

Contributions are welcome, but please open a new issue for discussion before submitting any pull requests. This will hopefully save any wasted or duplicate efforts.

License

Apache 2.0, mostly. See the license file for details.

About

MagicScaler high-performance, high-quality image processing pipeline for .NET

http://photosauce.net/

License:Other


Languages

Language:C# 100.0%