PhotoSauce.MagicScaler 0.13.1

.NET 6.0 .NET Core 3.1 .NET Standard 2.0 .NET Framework 4.6.1
Install-Package PhotoSauce.MagicScaler -Version 0.13.1
dotnet add package PhotoSauce.MagicScaler --version 0.13.1
<PackageReference Include="PhotoSauce.MagicScaler" Version="0.13.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PhotoSauce.MagicScaler --version 0.13.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PhotoSauce.MagicScaler, 0.13.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. 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.1

// Install PhotoSauce.MagicScaler as a Cake Tool
#tool nuget:?package=PhotoSauce.MagicScaler&version=0.13.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


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. Although MagicScaler is compatible with -- and optimized for -- .NET Core and .NET 5+, it requires the Windows Imaging Component for its image codec support.

Work is in progress to reach full feature parity on Linux.


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
.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
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 (9)

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

Package Downloads

AdwardSoft Utilities: Caching, Helper, Extensions


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


Package Description


Image Extension


MagicScaler providers for image handling

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.1 208 8/11/2022
0.13.0 6,568 4/18/2022
0.12.2 21,159 10/3/2021
0.12.1 20,288 5/11/2021
0.12.0 3,311 4/11/2021
0.11.2 78,598 11/4/2020
0.11.1 47,249 6/18/2020
0.11.0 8,383 6/10/2020
0.10.3 47,851 3/12/2020
0.10.2 12,488 2/22/2020
0.10.1 19,118 1/8/2020
0.9.1 92,753 9/4/2018
0.9.0 1,277 8/16/2018
0.8.4 23,679 1/17/2018
0.8.3 1,888 12/23/2017
0.8.2 870 12/14/2017
0.8.1 855 12/12/2017
0.8.0 2,027 9/5/2017
0.7.1 3,660 5/7/2017
0.7.0 922 4/25/2017
0.6.1 960 1/21/2017
0.5.0 1,458 10/25/2016

See for release-specific notes.