Skip to content

saving qr as image file #73

Answered by codemasher
Odido asked this question in Q&A
Jul 13, 2021 · 3 comments · 6 replies
Discussion options

You must be logged in to vote

Just add the path to the destination file as second parameter to the render() method like so:

$qrcode->render($data, '/path/to/file.svg');

See also: Advanced usage in the wiki.

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
1 reply
@Odido
Comment options

Answer selected by Odido
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@codemasher
Comment options

@maximusmcc
Comment options

@codemasher
Comment options

@sabby1977
Comment options

@maximusmcc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants