Closed johnrix closed 2 years ago
When using both a logo and label, I am observing additional white space being added below the logo image.
With text label:
Without text label:
Am presently using version 4.6.
Code used to generate the above is as follows:
$url = 'clr.ie/125372'; $schemePlusUrl = 'https://' . $url; $builder = Builder::create() ->writer(new PngWriter()) ->writerOptions([]) ->data($schemePlusUrl) // ->labelText($url) ->encoding(new Encoding('ISO-8859-1')); if ($includelogo) { $logo = 'templates/blackandwhite/images/Logo/ClearCircle/Blue.png'; $builder->logoPath($logo)->logoResizeToWidth(120)->logoPunchoutBackground(true)->errorCorrectionLevel(new ErrorCorrectionLevelHigh()); } $result = $builder->build();
Hi @johnrix thank you. There appeared to be an error in the punchout calculation. This should be fixed in 4.6.1.
Thanks for the quick turnaround!
When using both a logo and label, I am observing additional white space being added below the logo image.
With text label:
Without text label:
Am presently using version 4.6.
Code used to generate the above is as follows: