Skip to content

Commit f038911

Browse files
committed
Update VerifyImageMagick.cs
1 parent 578ea5e commit f038911

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Verify.ImageMagick/VerifyImageMagick.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ static ConversionResult ConvertImage(Stream stream, IReadOnlyDictionary<string,
5151
static IMagickImage<ushort> Flatten(IMagickImage<ushort> image, MagickColor background)
5252
{
5353
var collection = new MagickImageCollection([image]);
54-
var flattened = collection.Flatten(background);
55-
return flattened;
54+
return collection.Flatten(background);
5655
}
5756

5857
public static void RegisterComparers(double threshold = .005, ErrorMetric metric = ErrorMetric.Fuzz)

0 commit comments

Comments
 (0)