✨ align examples with readme

This commit is contained in:
codemasher
2018-01-21 18:18:01 +01:00
parent e9f3273b36
commit 5714ac312d
2 changed files with 22 additions and 22 deletions
+12 -12
View File
@@ -17,34 +17,34 @@ require_once __DIR__.'/../vendor/autoload.php';
$data = 'https://www.youtube.com/watch?v=DLzxrzFCyOs&t=43s';
$options = new QROptions([
'version' => 5,
'version' => 7,
'outputType' => QRCode::OUTPUT_IMAGE_PNG,
'eccLevel' => QRCode::ECC_L,
'scale' => 10,
'scale' => 5,
'imageBase64' => false,
'moduleValues' => [
// finder
1536 => [255, 0, 0], // dark (true)
1536 => [0, 63, 255], // dark (true)
6 => [255, 255, 255], // light (false), white is the transparency color and is enabled by default
// alignment
2560 => [255, 0, 0],
2560 => [255, 0, 255],
10 => [255, 255, 255],
// timing
3072 => [0, 0, 0],
12 => [200, 200, 200],
3072 => [255, 0, 0],
12 => [255, 255, 255],
// format
3584 => [0, 0, 0],
14 => [200, 200, 200],
3584 => [67, 191, 84],
14 => [255, 255, 255],
// version
4096 => [0, 0, 0],
16 => [200, 200, 200],
4096 => [62, 174, 190],
16 => [255, 255, 255],
// data
1024 => [0, 0, 150],
1024 => [0, 0, 0],
4 => [255, 255, 255],
// darkmodule
512 => [0, 0, 0],
// separator
8 => [200, 200, 200],
8 => [255, 255, 255],
// quietzone
18 => [255, 255, 255],
],