From 8744848a20172a350ee38a02465d3eb10add71a8 Mon Sep 17 00:00:00 2001 From: smiley Date: Tue, 19 Sep 2023 12:14:43 +0200 Subject: [PATCH] :octocat: use the same settings as the SVG "melt" example for direct comparison --- examples/pngWithRoundedShapes.php | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/examples/pngWithRoundedShapes.php b/examples/pngWithRoundedShapes.php index 618721ce1..a92582a84 100644 --- a/examples/pngWithRoundedShapes.php +++ b/examples/pngWithRoundedShapes.php @@ -135,12 +135,15 @@ class QRGdRounded extends QRGdImage{ // -------------------- $options = new QROptions([ - 'outputType' => QROutputInterface::CUSTOM, - 'outputInterface' => QRGdRounded::class, - 'eccLevel' => EccLevel::M, - 'imageTransparent' => false, - 'outputBase64' => false, - 'scale' => 30, + 'version' => 7, + 'eccLevel' => EccLevel::H, + 'outputType' => QROutputInterface::CUSTOM, + 'outputInterface' => QRGdRounded::class, + 'outputBase64' => false, + 'scale' => 30, + 'addLogoSpace' => true, + 'logoSpaceWidth' => 13, + 'logoSpaceHeight' => 13, ]);