129,785

Downloads

9,195

Downloads of v 3.4.3

2014-05-08

Last published

ImageResizer

3.4.3

Lightweight HttpModule, REST API, and managed API for *safe* and highly-optimized server-side image processing.

Docs: http://imageresizing.net/

Support: http://imageresizing.net/support

Works with .NET 2, 3, 3.5, 4, 4.5, ASP.NET WebForms, MVC 1-4, WebAPI, Routing, IIS 5, 5.1, 6, 7, 7.5, & 8 and nearly all CMSes.

Use ether the URL API: image.jpg?width=100&height=100 *or* the Managed API: ImageBuilder.Current.Build(source,dest,settings).

ImageResizer provides incredible quality and highly-optimized image processing - by default. Don't leak memory by using System.Drawing directly or create horrible previews with GetThumbnailImage. Add the ImageResizer.Plugins.DiskCache package to serve dynamic images as fast as static ones.

With this library, you can create beautiful image galleries, product thumbnails, and fast, scalable websites *without* sacrificing agility or responsive web design.

## Functionality in this package

The ImageResizer core package lets you:

1. Decode jpeg, png, gif, tiff, and bmp files from uploads, streams, byte arrays, and files.

2. Pre-rotate or flip (based on gravity sensor OR manual angle).

3. Apply manual cropping in either source or screen coordinates.

4. Efficiently apply width and/or height constraints, using any of several constraint modes: max, pad, crop, or stretch. Provides the highest quality image resampling (bicubic 2-pass) available on the windows platform.

5. Rotate, flip, add borders, padding, margins, with custom colors.

3. Re-compress into jpeg (with adjustable compression) or lossless png form - as a byte array, stream, or file.

All through a REST API and Managed API with a symmetrical command set.

URL rewriting, custom authorization, 404 fallbacks, gradient generation, exif stripping, size limiting, and cache-control customization are also included in the core DLL.

## 30+ plugins available

Search 'ImageResizer' on nuget.org, or visit imageresizing.net to see 40+ plugins, including WPF, WIC, FreeImage, OpenCV, AForge & Ghostscript (PDF) integrations. You'll also find plugins for disk caching, memory caching, Microsoft SQL blob support, Amazon CloudFront, S3, Azure Blob Storage, MongoDB GridFS, automatic whitespace trimming, automatic white balance, octree 8-bit gif/png quantization and transparency dithering, animated gif resizing, watermark & text overlay support, content aware image resizing / seam carving (based on CAIR), grayscale, sepia, histogram, alpha, contrast, saturation, brightness, hue, Guassian blur, noise removal, and smart sharpen filters, psd editing & rendering, raw (CR2, NEF, DNG, etc.) file exposure, .webp (weppy) support, image batch processing & compression into .zip archives, red eye auto-correction, face detection, and secure (signed!) remote HTTP image processing. Most datastore plugins support the Virtual Path Provider system, and can be used for non-image files as well.

## Third-party integration

Third parties have made some excellent UI wrappers and plugins, including Eksponent CropUp, FluentExtensions, jQuery NailThumb, WebCropImage, and mindrevolution's ResponsivePresets. Check out our own StudioJS for an amazing image editing studio based on the REST API.

To install ImageResizer, run the following command in the Package Manager Console

PM> Install-Package ImageResizer

Owners

Authors

Nathanael Jones, Imazen

Tags

Dependencies

This package has no dependencies.

Version History

Version Downloads Last updated
ImageResizer 3.4.2 23219 Tuesday, November 26 2013
ImageResizer 3.4.1 8413 Wednesday, October 30 2013
ImageResizer 3.4.0 2786 Thursday, October 17 2013
ImageResizer 3.3.3 43326 Saturday, March 02 2013
ImageResizer 3.3.2 9474 Thursday, January 24 2013
ImageResizer 3.3.1 3069 Thursday, December 20 2012
ImageResizer 3.3.0 2296 Tuesday, December 04 2012
ImageResizer 3.2.4 12483 Monday, August 06 2012
ImageResizer 3.2.3 2193 Saturday, June 30 2012
ImageResizer 3.2.2 1536 Wednesday, June 20 2012
ImageResizer 3.2.1 929 Monday, June 04 2012
ImageResizer 3.2.0 233 Sunday, June 03 2012
ImageResizer 3.1.5 5899 Wednesday, February 22 2012
ImageResizer 3.1.4 995 Sunday, January 22 2012
ImageResizer 3.1.3 279 Saturday, January 14 2012
ImageResizer 3.1.2 1252 Wednesday, December 07 2011
ImageResizer 3.0.13 946 Sunday, October 23 2011
ImageResizer 3.0.12 641 Monday, August 15 2011
ImageResizer 3.0.11 141 Thursday, July 28 2011
ImageResizer 3.0.10.2 201 Thursday, July 28 2011
ImageResizer 3.0.10.1 82 Wednesday, June 15 2011
ImageResizer 3.0.9.1 85 Wednesday, June 15 2011
ImageResizer 3.0.9 112 Wednesday, June 15 2011