Can't generate QR in PNG format #321
-
|
I'm trying to generate QR code in PNG format, as is described in documentation: I'm expecting to get something like What I do wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
|
The documentation you were using is probably the one for the dev-main branch, which is incompatible with v5 due to several deprecations (see #223). |
Beta Was this translation helpful? Give feedback.
-
|
You have a typo: // Wrong:
$options->outputInteface = QRGdImagePNG::class;
// Correct:
$options->outputInterface = QRGdImagePNG::class; |
Beta Was this translation helpful? Give feedback.
-
|
Correct, there is a tipo in my code |
Beta Was this translation helpful? Give feedback.
-
|
Switched to |
Beta Was this translation helpful? Give feedback.
Switched to
dev-main, corrected the typo. Everything Ok. Thank you.