File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/Umbraco.Web.Common/DependencyInjection Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,14 @@ public static IServiceCollection AddUmbracoImageSharp(this IUmbracoBuilder build
54
54
. Configure < PhysicalFileSystemCacheOptions > ( options => options . CacheFolder = builder . BuilderHostingEnvironment . MapPathContentRoot ( imagingSettings . Cache . CacheFolder ) )
55
55
// We need to add CropWebProcessor before ResizeWebProcessor (until https://github.com/SixLabors/ImageSharp.Web/issues/182 is fixed)
56
56
. RemoveProcessor < ResizeWebProcessor > ( )
57
+ . RemoveProcessor < FormatWebProcessor > ( )
58
+ . RemoveProcessor < BackgroundColorWebProcessor > ( )
59
+ . RemoveProcessor < JpegQualityWebProcessor > ( )
57
60
. AddProcessor < CropWebProcessor > ( )
58
- . AddProcessor < ResizeWebProcessor > ( ) ;
61
+ . AddProcessor < ResizeWebProcessor > ( )
62
+ . AddProcessor < FormatWebProcessor > ( )
63
+ . AddProcessor < BackgroundColorWebProcessor > ( )
64
+ . AddProcessor < JpegQualityWebProcessor > ( ) ;
59
65
60
66
builder . Services . AddTransient < IConfigureOptions < ImageSharpMiddlewareOptions > , ImageSharpConfigurationOptions > ( ) ;
61
67
You can’t perform that action at this time.
0 commit comments