File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
src/ImageSharp.Web/Processors Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,13 @@ public FormattedImage Process(
5353
5454 if ( quality != reference . Quality )
5555 {
56- image . Encoder = new JpegEncoder ( ) { Quality = quality , ColorType = reference . ColorType } ;
56+ image . Encoder = new JpegEncoder ( )
57+ {
58+ Quality = quality ,
59+ Interleaved = reference . Interleaved ,
60+ ColorType = reference . ColorType ,
61+ SkipMetadata = reference . SkipMetadata
62+ } ;
5763 }
5864 }
5965 else if ( image . Format is WebpFormat )
@@ -76,6 +82,7 @@ public FormattedImage Process(
7682 TransparentColorMode = reference . TransparentColorMode ,
7783 NearLossless = reference . NearLossless ,
7884 NearLosslessQuality = reference . NearLosslessQuality ,
85+ SkipMetadata = reference . SkipMetadata
7986 } ;
8087 }
8188 }
You can’t perform that action at this time.
0 commit comments