mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-05 03:17:02 +00:00
:octocat:
This commit is contained in:
+2
-2
@@ -15,8 +15,8 @@ require_once __DIR__.'/../vendor/autoload.php';
|
||||
// please excuse the IDE yelling https://youtrack.jetbrains.com/issue/WI-66549
|
||||
$options = new QROptions;
|
||||
$options->readerUseImagickIfAvailable = false;
|
||||
$options->readerGrayscale = true;
|
||||
$options->readerIncreaseContrast = true;
|
||||
$options->readerGrayscale = true;
|
||||
$options->readerIncreaseContrast = true;
|
||||
|
||||
try{
|
||||
$result = (new QRCode($options))->readFromFile(__DIR__.'/../.github/images/example_image.png');
|
||||
|
||||
Reference in New Issue
Block a user