Skip to content

Commit 0721830

Browse files
committed
Default PadColor is Color.White
1 parent b85add2 commit 0721830

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ImageWizard.ImageSharp/Filters/ResizeFilter.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ public void Resize([DPR]int width, [DPR]int height, Utils.ResizeMode mode, Utils
7070
{
7171
Position = anchorPositionMode,
7272
Mode = mode2,
73-
Size = new Size(width, height)
73+
Size = new Size(width, height),
74+
PadColor = Color.White
7475
}));
7576
}
7677
}

0 commit comments

Comments
 (0)