ImageResizer 4.0.2
See the version list below for details.
dotnet add package ImageResizer --version 4.0.2
NuGet\Install-Package ImageResizer -Version 4.0.2
<PackageReference Include="ImageResizer" Version="4.0.2" />
paket add ImageResizer --version 4.0.2
#r "nuget: ImageResizer, 4.0.2"
// Install ImageResizer as a Cake Addin #addin nuget:?package=ImageResizer&version=4.0.2 // Install ImageResizer as a Cake Tool #tool nuget:?package=ImageResizer&version=4.0.2
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 4.5.1+, ASP.NET WebForms, MVC 1-4, WebAPI, Routing, IIS 7, 7.5, & 8, 8.1 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. Some offer 4-30x performance improvements; some render PDFs and PSDs; others detect faces and trim whitespace.
You'll 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.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages (64)
Showing the top 5 NuGet packages that depend on ImageResizer:
Package | Downloads |
---|---|
ImageResizer.WebConfig
Installs ImageResizer module by (carefully) modifying Web.Config. Docs: https://imageresizing.net/ |
|
ImageResizer.Plugins.DiskCache
Adds disk caching to the ImageResizer core. Fast, multithreaded, and self-managing. Drastically increases scalability and performance. Writing processed images to disk permits images to be served as static files by IIS, eliminating the typical RAM and CPU overhead assocatied with real-time image processing. Used by websites hosting hundreds of thousands of images, with hundreds of requests per second. Docs: http://imageresizing.net/plugins/diskcache Support: http://imageresizing.net/support Requires license, see http://imageresizing.net/plugins ## 30+ plugins available Search 'ImageResizer' on nuget.org, or visit imageresizing.net to see 40+ plugins. Some offer 4-30x performance improvements; some render PDFs and PSDs; others detect faces and trim whitespace. You'll 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. |
|
ImageResizer.MvcWebConfig
Installs ImageResizer by (carefully) modifying Web.Config. Duplicate of ImageResizer.WebConfig for ImageResizer 4+. Docs: http://imageresizing.net/ Support: http://imageresizing.net/support ## 30+ plugins available Search 'ImageResizer' on nuget.org, or visit imageresizing.net to see 40+ plugins. Some offer 4-30x performance improvements; some render PDFs and PSDs; others detect faces and trim whitespace. You'll 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. |
|
ImageResizer.Plugins.PrettyGifs
Replaces .NET's default GIF and 8-bit PNG encoding with high-quality Octree Quantization and multi-pass dithering support. Docs: http://imageresizing.net/plugins/prettygifs Support: http://imageresizing.net/support Requires license, see http://imageresizing.net/plugins ## 30+ plugins available Search 'ImageResizer' on nuget.org, or visit imageresizing.net to see 40+ plugins. Some offer 4-30x performance improvements; some render PDFs and PSDs; others detect faces and trim whitespace. You'll 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. |
|
ImageResizer.Mvc
If you are using ImageResizer 4+, you may safely remove this dependency from your project. |
GitHub repositories (9)
Showing the top 5 popular GitHub repositories that depend on ImageResizer:
Repository | Stars |
---|---|
OrchardCMS/Orchard
Orchard is a free, open source, community-focused Content Management System built on the ASP.NET MVC platform.
|
|
Otiel/BandcampDownloader
A Windows app used to download albums from Bandcamp.
|
|
SparkDevNetwork/Rock
An open source CMS, Relationship Management System (RMS) and Church Management System (ChMS) all rolled into one.
|
|
imazen/resizer
The official repository for ImageResizer
|
|
EgorBo/CrossChat-Xamarin.Forms
A chat application implemented using Xamarin.Forms and DDD + MVVM
|
Version | Downloads | Last updated |
---|---|---|
5.0.13-preview09 | 16,576 | 9/30/2023 |
5.0.11-preview08 | 4,610 | 12/23/2022 |
5.0.10-preview07 | 4,027 | 11/17/2022 |
5.0.9-preview06 | 3,790 | 11/4/2022 |
5.0.8-preview05 | 3,754 | 11/4/2022 |
5.0.7-preview-04 | 4,129 | 10/14/2022 |
5.0.6-preview03 | 3,938 | 10/14/2022 |
5.0.5-preview02 | 3,907 | 9/29/2022 |
5.0.4-preview01 | 3,974 | 8/26/2022 |
5.0.3-preview04 | 4,043 | 8/26/2022 |
5.0.2-preview03 | 3,950 | 8/25/2022 |
5.0.1-preview02 | 3,993 | 8/25/2022 |
4.2.8 | 1,362,437 | 7/31/2020 |
4.2.7-pre | 16,239 | 7/14/2020 |
4.2.6-pre | 24,044 | 11/2/2019 |
4.2.5 | 1,791,142 | 4/6/2018 |
4.2.5-pre | 17,840 | 2/19/2018 |
4.2.4-pre | 19,297 | 12/13/2017 |
4.2.3-pre | 16,930 | 12/13/2017 |
4.2.1-pre | 17,083 | 11/29/2017 |
4.2.0 | 320,481 | 11/28/2017 |
4.1.11 | 121,853 | 11/8/2017 |
4.1.10 | 134,302 | 9/13/2017 |
4.1.9 | 244,270 | 6/22/2017 |
4.0.5 | 1,191,757 | 1/31/2016 |
4.0.4 | 197,854 | 10/25/2015 |
4.0.3 | 22,021 | 10/25/2015 |
4.0.2 | 21,283 | 10/25/2015 |
4.0.1 | 172,415 | 10/25/2015 |
4.0.0-prerelease0881 | 18,011 | 8/11/2015 |
4.0.0-prerelease0877 | 18,163 | 7/7/2015 |
3.4.3 | 1,377,058 | 5/8/2014 |
3.4.2 | 182,098 | 11/26/2013 |
3.4.1 | 19,155 | 10/30/2013 |
3.4.0 | 13,062 | 10/17/2013 |
3.3.3 | 170,309 | 3/2/2013 |
3.3.2 | 26,952 | 1/24/2013 |
3.3.1 | 13,399 | 12/20/2012 |
3.3.0 | 11,058 | 12/4/2012 |
3.2.4 | 114,886 | 8/6/2012 |
3.2.3 | 28,287 | 6/30/2012 |
3.2.2 | 7,764 | 6/20/2012 |
3.2.1 | 6,698 | 6/4/2012 |
3.2.0 | 6,395 | 6/3/2012 |
3.1.5 | 38,449 | 2/22/2012 |
3.1.4 | 6,910 | 1/22/2012 |
3.1.3 | 6,193 | 1/14/2012 |
3.1.2 | 7,849 | 12/7/2011 |
3.0.13 | 7,370 | 10/23/2011 |
3.0.12 | 7,248 | 8/15/2011 |
3.0.11 | 6,277 | 7/28/2011 |
3.0.10.2 | 6,162 | 7/28/2011 |
3.0.10.1 | 6,222 | 6/15/2011 |
3.0.9.1 | 9,855 | 6/15/2011 |
3.0.9 | 301,939 | 6/15/2011 |