Replies: 3 comments 8 replies
-
|
see: https://php-qrcode.readthedocs.io/en/stable/Usage/Advanced-usage.html#save-to-file |
Beta Was this translation helpful? Give feedback.
-
|
`$options->outputBase64 = false; $qrcode = new QRCode($options); $qrOutputInterface = new QRImageWithLogo($options, $qrcode->getQRMatrix()); // dump the output, with an additional logo //write to file here is what I need |
Beta Was this translation helpful? Give feedback.
-
|
One more quick one. How can I add a variable in the path od the addByteSegment function? $qrcode->addByteSegment('https://danville.qr/track.php?'.$randstring.); the URL in the QR code is getting $randstring insteadof the string I geenrated. Generator is workjing correctly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I want to use the example of creating a QR code with image https://github.com/chillerlan/php-qrcode/blob/main/examples/imageWithLogo.php but I want to save it to file instead out outputting on screen. How can I do this? I am stumped. It works fine with outputting on screen.
Beta Was this translation helpful? Give feedback.
All reactions