Barcode Version Auto
This commit is contained in:
parent
e0f433309b
commit
b9f7b18ff9
@ -41,7 +41,7 @@ class Barcode extends Node
|
|||||||
$compiler->raw(
|
$compiler->raw(
|
||||||
'
|
'
|
||||||
$options = new \PSC\System\SettingsBundle\Barcode\QRGdWithLogoOptions();
|
$options = new \PSC\System\SettingsBundle\Barcode\QRGdWithLogoOptions();
|
||||||
$options->version = 7;
|
$options->version = -1;
|
||||||
$options->eccLevel = \chillerlan\QRCode\Common\EccLevel::H;
|
$options->eccLevel = \chillerlan\QRCode\Common\EccLevel::H;
|
||||||
$options->outputType = \chillerlan\QRCode\Output\QROutputInterface::CUSTOM;
|
$options->outputType = \chillerlan\QRCode\Output\QROutputInterface::CUSTOM;
|
||||||
if(isset($_options["logo"]) && $_options["logo"] == true) {
|
if(isset($_options["logo"]) && $_options["logo"] == true) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user