PhotoSauce.MagicScaler
0.13.0
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" />
paket add PhotoSauce.MagicScaler --version 0.13.0
#r "nuget: PhotoSauce.MagicScaler, 0.13.0"
// 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
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 |
-
.NETCoreApp 3.1
- No dependencies.
-
.NETFramework 4.6.1
- IndexRange (>= 1.0.2)
- System.Buffers (>= 4.5.1)
- System.Memory (>= 4.5.4)
- 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.4)
- 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.4)
- 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.
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 (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.0 | 1,394 | 4/18/2022 |
0.12.2 | 14,718 | 10/3/2021 |
0.12.1 | 18,148 | 5/11/2021 |
0.12.0 | 2,830 | 4/11/2021 |
0.11.2 | 75,044 | 11/4/2020 |
0.11.1 | 44,209 | 6/18/2020 |
0.11.0 | 8,145 | 6/10/2020 |
0.10.3 | 46,382 | 3/12/2020 |
0.10.2 | 11,523 | 2/22/2020 |
0.10.1 | 17,494 | 1/8/2020 |
0.9.1 | 89,817 | 9/4/2018 |
0.9.0 | 1,232 | 8/16/2018 |
0.8.4 | 23,446 | 1/17/2018 |
0.8.3 | 1,817 | 12/23/2017 |
0.8.2 | 829 | 12/14/2017 |
0.8.1 | 805 | 12/12/2017 |
0.8.0 | 1,979 | 9/5/2017 |
0.7.1 | 3,617 | 5/7/2017 |
0.7.0 | 883 | 4/25/2017 |
0.6.1 | 920 | 1/21/2017 |
0.5.0 | 1,385 | 10/25/2016 |
See https://github.com/saucecontrol/PhotoSauce/releases for release-specific notes.