PhotoSauce.MagicScaler
0.14.2
Prefix Reserved
dotnet add package PhotoSauce.MagicScaler --version 0.14.2
NuGet\Install-Package PhotoSauce.MagicScaler -Version 0.14.2
<PackageReference Include="PhotoSauce.MagicScaler" Version="0.14.2" />
paket add PhotoSauce.MagicScaler --version 0.14.2
#r "nuget: PhotoSauce.MagicScaler, 0.14.2"
// Install PhotoSauce.MagicScaler as a Cake Addin #addin nuget:?package=PhotoSauce.MagicScaler&version=0.14.2 // Install PhotoSauce.MagicScaler as a Cake Tool #tool nuget:?package=PhotoSauce.MagicScaler&version=0.14.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 runs on Windows and Linux.
Linux hosting requires one or more of the cross-platform codec plugins available on nuget.org. Most common image formats are supported. Notable exceptions are support for BMP and TIFF images.
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 Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
.NET Framework | net461 is compatible. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.6.1
- IndexRange (>= 1.0.3)
- 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.3)
- 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.3)
- 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.
-
net8.0
- No dependencies.
NuGet packages (13)
Showing the top 5 NuGet packages that depend on PhotoSauce.MagicScaler:
Package | Downloads |
---|---|
PhotoSauce.NativeCodecs.Libjpeg
JPEG codec plugin for the PhotoSauce.MagicScaler pipeline. |
|
PhotoSauce.NativeCodecs.Libpng
PNG codec plugin for the PhotoSauce.MagicScaler pipeline. |
|
PhotoSauce.NativeCodecs.Libwebp
WebP codec plugin for the PhotoSauce.MagicScaler pipeline. |
|
PhotoSauce.NativeCodecs.Giflib
GIF codec plugin for the PhotoSauce.MagicScaler pipeline. |
|
PhotoSauce.NativeCodecs.Libheif
HEIC and AVIF codec plugin for the PhotoSauce.MagicScaler pipeline. |
GitHub repositories (5)
Showing the top 5 popular GitHub repositories that depend on PhotoSauce.MagicScaler:
Repository | Stars |
---|---|
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.
|
|
d2phap/ImageGlass
🏞 A lightweight, versatile image viewer
|
|
SixLabors/ImageSharp
:camera: A modern, cross-platform, 2D Graphics library for .NET
|
|
CollapseLauncher/Collapse
An Advanced Launcher for miHoYo/HoYoverse Games
|
|
AntonyCorbett/OnlyM
Simple Media Player (audio, video and images) for use in meetings.
|
Version | Downloads | Last updated |
---|---|---|
0.14.2 | 121,153 | 3/6/2024 |
0.14.1 | 380 | 3/6/2024 |
0.14.0 | 80,325 | 10/12/2023 |
0.13.2 | 125,092 | 11/8/2022 |
0.13.1 | 12,089 | 8/11/2022 |
0.13.0 | 27,631 | 4/18/2022 |
0.12.2 | 56,632 | 10/3/2021 |
0.12.1 | 37,674 | 5/11/2021 |
0.12.0 | 5,698 | 4/11/2021 |
0.11.2 | 118,365 | 11/4/2020 |
0.11.1 | 77,328 | 6/18/2020 |
0.11.0 | 8,995 | 6/10/2020 |
0.10.3 | 71,940 | 3/12/2020 |
0.10.2 | 27,179 | 2/22/2020 |
0.10.1 | 22,402 | 1/8/2020 |
0.9.1 | 116,127 | 9/4/2018 |
0.9.0 | 1,957 | 8/16/2018 |
0.8.4 | 26,331 | 1/17/2018 |
0.8.3 | 2,632 | 12/23/2017 |
0.8.2 | 1,459 | 12/14/2017 |
0.8.1 | 1,417 | 12/12/2017 |
0.8.0 | 2,663 | 9/5/2017 |
0.7.1 | 4,243 | 5/7/2017 |
0.7.0 | 1,495 | 4/25/2017 |
0.6.1 | 1,519 | 1/21/2017 |
0.5.0 | 2,235 | 10/25/2016 |
See https://github.com/saucecontrol/PhotoSauce/releases for release-specific notes.