ImageResizer.Plugins.Imageflow
5.0.9-preview06
Prefix Reserved
Advisory: https://github.com/advisories/GHSA-7vpr-3ppw-qrpj | Severity: high |
This package includes or references a version of Google's libwebp that is vulnerable to maliciously crafted images. Update to the latest version immediately if you process untrusted images with this tool. See https://github.com/imazen/imageflow/security/advisories/GHSA-7vpr-3ppw-qrpj for more information. If you're using macOS, version 11 or higher is required. If you're on Linux, libc 2.31 or higher is required, which usually means a distribution version that has not past EOL.
See the version list below for details.
dotnet add package ImageResizer.Plugins.Imageflow --version 5.0.9-preview06
NuGet\Install-Package ImageResizer.Plugins.Imageflow -Version 5.0.9-preview06
<PackageReference Include="ImageResizer.Plugins.Imageflow" Version="5.0.9-preview06" />
paket add ImageResizer.Plugins.Imageflow --version 5.0.9-preview06
#r "nuget: ImageResizer.Plugins.Imageflow, 5.0.9-preview06"
// Install ImageResizer.Plugins.Imageflow as a Cake Addin #addin nuget:?package=ImageResizer.Plugins.Imageflow&version=5.0.9-preview06&prerelease // Install ImageResizer.Plugins.Imageflow as a Cake Tool #tool nuget:?package=ImageResizer.Plugins.Imageflow&version=5.0.9-preview06&prerelease
ImageResizer.Plugins.Imageflow
This is an image processing backend that uses the Imageflow library by yours truly. Imageflow is written in Rust for speed and security, and offers incredible performance and file optimization.
Installation
- Enable pre-release packages in NuGet
Install-Package ImageResizer.Plugins.Imageflow -pre
Install-Package Imageflow.NativeRuntime.win-x86 -pre
installs the 32-bit imageflow.dllInstall-Package Imageflow.NativeRuntime.win-x86_64 -pre
installs the 64-bit imageflow.dll- Add
<add name="Imageflow" />
to the<resizer><plugins>
section ofWeb.config
to use Imageflow. - The functionality from most plugins has been integrated into the core or into Imageflow, drastically simplifying maintenance for the most common features.
- Remove references to
Wic*
,PrettyGifs
,AnimatedGifs
,Watermark
,SimpleFilters
,WhitespaceTrimmer
,WebP
,AdvancedFilters
,FastScaling.x86
andFastScaling.x64
from both nuget.config and Web.config. - Note that Imageflow does not yet support .TIFF files. The default pipeline will be used for these, so advanced file editing and compression will not be available.
Images are rotated using metadata
Images are now rotated, by default, based on EXIF metadata from the gravity sensor in your camera/phone. We've suggested setting <pipeline defaultCommands="autorotate.default=true"/>
for five years now, so this may not affect you.
The Imageflow backend does not support &autorotate=false.
Most AdvancedFilters commands are gone (it was an alpha plugin)
- Imageflow now implements
a.balancewhite
. - Sharpening is now done with
f.sharpen
& Imageflow, nota.sharpen
, anda.sharpen
is ignored. We don't map the command since they produce different results. - Blurring and noise removal are not yet supported, so
a.removenoise
anda.blur
are ignored. a.oilpainting
,a.sobel
,a.threshold
,a.canny
,a.equalize
,a.posterize
are gone.
Imageflow will not be used in niche cases
The default GDI pipeline will be used (thus disabling file optimization, filters, and other Imageflow features) under the following conditions:
&rotate
values other than 0, 90, 180, 270 (or another multiple of 90) are used.- The input file has a .tiff, .tff, .tif, or .bmp extension (Imageflow does not support TIFF and BMP formats, yet).
&frame=x
is used to select a frame from an animated GIF.paddingWidth
,paddingHeight
,margin
,borderWidth
,borderColor
orpaddingColor
are used (obsolete, we have good CSS now).&bgcolor=AARRGGBB
is still supported, of course.
Imageflow supports nearly everything:
mode
, anchor
, flip
, sflip
,
quality
, zoom
, dpr
, crop
, cropxunits
, cropyunits
,
w
, h
, width
, height
, maxwidth
, maxheight
, format
,
srotate
, rotate
, stretch
, webp.lossless
, webp.quality
,
f.sharpen
, f.sharpen_when
, down.colorspace
, bgcolor
,
jpeg_idct_downscale_linear
, watermark
, s.invert
, s.sepia
,
s.grayscale
, s.alpha
, s.brightness
, s.contrast
, s.saturation
,
trim.threshold
, trim.percentpadding
, a.balancewhite
, jpeg.progressive
,
decoder.min_precise_scaling_ratio
, scale
, preset
, s.roundcorners
, ignoreicc
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- Imageflow.AllPlatforms (>= 0.8.5)
- Imageflow.Net (>= 0.8.5)
- ImageResizer (>= 5.0.9-preview06)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on ImageResizer.Plugins.Imageflow:
Repository | Stars |
---|---|
imazen/resizer
The official repository for ImageResizer
|
Version | Downloads | Last updated | |
---|---|---|---|
5.0.13-preview09 | 747 | 9/30/2023 | |
5.0.11-preview08 | 342 | 12/23/2022 | |
5.0.10-preview07 | 142 | 11/17/2022 | |
5.0.9-preview06 | 141 | 11/4/2022 | |
5.0.8-preview05 | 151 | 11/4/2022 | |
5.0.7-preview-04 | 163 | 10/14/2022 | |
5.0.6-preview03 | 143 | 10/14/2022 | |
5.0.5-preview02 | 145 | 9/29/2022 | |
5.0.4-preview01 | 145 | 8/26/2022 | |
5.0.3-preview04 | 155 | 8/26/2022 |