Barcode Version Auto

This commit is contained in:
Thomas Peterson 2024-09-09 14:11:42 +02:00
parent e0f433309b
commit b9f7b18ff9

View File

@ -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) {