PhotoSauce.MagicScaler
0.13.2
dotnet add package PhotoSauce.MagicScaler --version 0.13.2
NuGet\Install-Package PhotoSauce.MagicScaler -Version 0.13.2
<PackageReference Include="PhotoSauce.MagicScaler" Version="0.13.2" />
paket add PhotoSauce.MagicScaler --version 0.13.2
#r "nuget: PhotoSauce.MagicScaler, 0.13.2"
// 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
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.
Work is in progress to reach full feature parity on Linux. A growing collection of cross-platform codecs is available on nuget.org, and at this point most use cases are covered. Notable exceptions are support for BMP and TIFF images and CMYK JPEG.
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 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 |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.6.1
- IndexRange (>= 1.0.2)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.5)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.5.3)
- System.Runtime.InteropServices.RuntimeInformation (>= 4.3.0)
- System.ValueTuple (>= 4.5.0)
-
.NETFramework 4.7.2
- IndexRange (>= 1.0.2)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.5)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.5.3)
-
.NETStandard 2.0
- IndexRange (>= 1.0.2)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.5)
- System.Numerics.Vectors (>= 4.5.0)
- System.Runtime.CompilerServices.Unsafe (>= 4.5.3)
-
.NETStandard 2.1
- System.Runtime.CompilerServices.Unsafe (>= 6.0.0)
-
net6.0
- No dependencies.
-
net7.0
- No dependencies.
NuGet packages (13)
Showing the top 5 NuGet packages that depend on PhotoSauce.MagicScaler:
Package | Downloads |
---|---|
AdwardSoft.Utilities
AdwardSoft Utilities: Caching, Helper, Extensions |
|
PhotoSauce.NativeCodecs.Libwebp
WebP codec plugin for the PhotoSauce.MagicScaler pipeline. |
|
PhotoSauce.WebRSize
Web extensions for the MagicScaler library, inlcluding an HTTP request intercept module for automatic image processing. |
|
PhotoSauce.NativeCodecs.Libjpeg
JPEG codec plugin for the PhotoSauce.MagicScaler pipeline. |
|
PhotoSauce.NativeCodecs.Libpng
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 |
---|---|
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.
|
|
AntonyCorbett/OnlyM
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 https://github.com/saucecontrol/PhotoSauce/releases for release-specific notes.