[ImageResizer]Fix regression: Too much metadata (#15548)

This commit is contained in:
CleanCodeDeveloper
2022-01-24 14:37:25 +01:00
committed by GitHub
parent 0506f06a18
commit 2ccf492707

View File

@@ -136,9 +136,9 @@ namespace ImageResizer.Models
encoder.Frames.Add(
BitmapFrame.Create(
Transform(originalFrame),
originalFrame.Thumbnail,
thumbnail: null, /* should be null, see #15413 */
metadata,
null));
colorContexts: null /* should be null, see #14866 */ ));
}
path = GetDestinationPath(encoder);