Skip to content

Commit 7119921

Browse files
committed
Set pixelSizeFactor default to 1.0
Changed the default to 1.0 to avoid breaking changes due to bugfix in pixelSizeFactor calculation
1 parent 366c1d5 commit 7119921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

QRCoder/ArtQRCode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public Bitmap GetGraphic(Bitmap backgroundImage = null)
5959
/// <param name="backgroundImageStyle">Style of the background image (if set). Fill=spanning complete graphic; DataAreaOnly=Don't paint background into quietzone</param>
6060
/// <param name="finderPatternImage">Optional image that should be used instead of the default finder patterns</param>
6161
/// <returns>QRCode graphic as bitmap</returns>
62-
public Bitmap GetGraphic(int pixelsPerModule, Color darkColor, Color lightColor, Color backgroundColor, Bitmap backgroundImage = null, double pixelSizeFactor = 0.8,
62+
public Bitmap GetGraphic(int pixelsPerModule, Color darkColor, Color lightColor, Color backgroundColor, Bitmap backgroundImage = null, double pixelSizeFactor = 1.0,
6363
bool drawQuietZones = true, QuietZoneStyle quietZoneRenderingStyle = QuietZoneStyle.Dotted,
6464
BackgroundImageStyle backgroundImageStyle = BackgroundImageStyle.DataAreaOnly, Bitmap finderPatternImage = null)
6565
{

0 commit comments

Comments
 (0)