PhotoSauce.MagicScaler 0.13.0

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

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

PhotoSauce.MagicScaler

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.

Requirements

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.

Usage

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

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

Package Downloads
AdwardSoft.Utilities

AdwardSoft Utilities: Caching, Helper, Extensions

PhotoSauce.WebRSize

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

Bulletin

Package Description

Tang.Library.Image

Image Extension

Dynamicweb.Imaging.Providers.MagicScalerProviders

MagicScaler providers for image handling

GitHub repositories (2)

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

Repository Stars
SixLabors/ImageSharp
:camera: A modern, cross-platform, 2D Graphics library for .NET
JosefNemec/Playnite
Video game library manager with support for wide range of 3rd party libraries and game emulation support, providing one unified interface for your games.
Version Downloads Last updated
0.13.0 3,519 4/18/2022
0.12.2 17,613 10/3/2021
0.12.1 19,084 5/11/2021
0.12.0 2,923 4/11/2021
0.11.2 76,397 11/4/2020
0.11.1 45,365 6/18/2020
0.11.0 8,270 6/10/2020
0.10.3 47,031 3/12/2020
0.10.2 12,081 2/22/2020
0.10.1 18,317 1/8/2020
0.9.1 91,080 9/4/2018
0.9.0 1,260 8/16/2018
0.8.4 23,534 1/17/2018
0.8.3 1,865 12/23/2017
0.8.2 854 12/14/2017
0.8.1 838 12/12/2017
0.8.0 2,011 9/5/2017
0.7.1 3,644 5/7/2017
0.7.0 913 4/25/2017
0.6.1 950 1/21/2017
0.5.0 1,433 10/25/2016

See https://github.com/saucecontrol/PhotoSauce/releases for release-specific notes.