PhotoSauce.MagicScaler 0.13.2

The ID prefix of this package has been reserved for one of the owners of this package by Prefix Reserved
.NET 6.0 .NET Core 3.1 .NET Standard 2.0 .NET Framework 4.6.1
dotnet add package PhotoSauce.MagicScaler --version 0.13.2
NuGet\Install-Package PhotoSauce.MagicScaler -Version 0.13.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PhotoSauce.MagicScaler" Version="0.13.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PhotoSauce.MagicScaler --version 0.13.2
#r "nuget: PhotoSauce.MagicScaler, 0.13.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install PhotoSauce.MagicScaler as a Cake Addin
#addin nuget:?package=PhotoSauce.MagicScaler&version=0.13.2

// Install PhotoSauce.MagicScaler as a Cake Tool
#tool nuget:?package=PhotoSauce.MagicScaler&version=0.13.2


MagicScaler is a high-performance image processing pipeline for .NET, focused on making complex imaging tasks simple.

It 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.


MagicScaler currently has full functionality only on Windows.

Work is in progress to reach full feature parity on Linux. A growing collection of cross-platform codecs is available on, and at this point most use cases are covered. Notable exceptions are support for BMP and TIFF images and CMYK JPEG.


Image Resizing

MagicImageProcessor.ProcessImage(@"\img\big.jpg", @"\img\small.jpg", new ProcessImageSettings { Width = 400 });

The above example will resize big.jpg to a width of 400 pixels and save the output to small.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 full documentation for more details.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48 net481
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (13)

Showing the top 5 NuGet packages that depend on PhotoSauce.MagicScaler:

Package Downloads

AdwardSoft Utilities: Caching, Helper, Extensions

PhotoSauce.NativeCodecs.Libwebp The ID prefix of this package has been reserved for one of the owners of this package by

WebP codec plugin for the PhotoSauce.MagicScaler pipeline.

PhotoSauce.WebRSize The ID prefix of this package has been reserved for one of the owners of this package by

Web extensions for the MagicScaler library, inlcluding an HTTP request intercept module for automatic image processing.

PhotoSauce.NativeCodecs.Libjpeg The ID prefix of this package has been reserved for one of the owners of this package by

JPEG codec plugin for the PhotoSauce.MagicScaler pipeline.

PhotoSauce.NativeCodecs.Libpng The ID prefix of this package has been reserved for one of the owners of this package by

PNG codec plugin for the PhotoSauce.MagicScaler pipeline.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on PhotoSauce.MagicScaler:

Repository Stars
:camera: A modern, cross-platform, 2D Graphics library for .NET
Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
Simple Media Player (audio, video and images) for use in meetings.
Version Downloads Last updated
0.13.2 21,398 11/8/2022
0.13.1 5,377 8/11/2022
0.13.0 13,331 4/18/2022
0.12.2 32,778 10/3/2021
0.12.1 23,484 5/11/2021
0.12.0 3,907 4/11/2021
0.11.2 90,058 11/4/2020
0.11.1 57,232 6/18/2020
0.11.0 8,491 6/10/2020
0.10.3 52,568 3/12/2020
0.10.2 15,362 2/22/2020
0.10.1 20,854 1/8/2020
0.9.1 98,541 9/4/2018
0.9.0 1,402 8/16/2018
0.8.4 24,285 1/17/2018
0.8.3 2,033 12/23/2017
0.8.2 969 12/14/2017
0.8.1 964 12/12/2017
0.8.0 2,145 9/5/2017
0.7.1 3,774 5/7/2017
0.7.0 1,032 4/25/2017
0.6.1 1,077 1/21/2017
0.5.0 1,633 10/25/2016

See for release-specific notes.