Skip to content

Commit 8744848

Browse files
committed
:octocat: use the same settings as the SVG "melt" example for direct comparison
1 parent 1c80737 commit 8744848

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

examples/pngWithRoundedShapes.php

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -135,12 +135,15 @@ protected function module(int $x, int $y, int $M_TYPE):void{
135135
// --------------------
136136

137137
$options = new QROptions([
138-
'outputType' => QROutputInterface::CUSTOM,
139-
'outputInterface' => QRGdRounded::class,
140-
'eccLevel' => EccLevel::M,
141-
'imageTransparent' => false,
142-
'outputBase64' => false,
143-
'scale' => 30,
138+
'version' => 7,
139+
'eccLevel' => EccLevel::H,
140+
'outputType' => QROutputInterface::CUSTOM,
141+
'outputInterface' => QRGdRounded::class,
142+
'outputBase64' => false,
143+
'scale' => 30,
144+
'addLogoSpace' => true,
145+
'logoSpaceWidth' => 13,
146+
'logoSpaceHeight' => 13,
144147
]);
145148

146149

0 commit comments

Comments
 (0)