:octocat: clarify several QROptions: $imageTransparent and $imageTransparencyBG, introduced $drawLightModules and $bgColor (see #122)

This commit is contained in:
smiley
2022-07-31 04:19:19 +02:00
parent 7bacc8bc38
commit 739579552d
11 changed files with 57 additions and 31 deletions
+3 -1
View File
@@ -17,8 +17,10 @@ $options = new QROptions([
'version' => 7,
'outputType' => QROutputInterface::IMAGICK,
'eccLevel' => EccLevel::L,
'imagickBG' => '#FFFFFF',
'bgColor' => '#cccccc', // overrides the imageTransparent setting
'imageTransparent' => true,
'scale' => 20,
'drawLightModules' => true,
'drawCircularModules' => true,
'circleRadius' => 0.4,
'keepAsSquare' => [QRMatrix::M_FINDER|QRMatrix::IS_DARK, QRMatrix::M_FINDER_DOT, QRMatrix::M_ALIGNMENT|QRMatrix::IS_DARK],