endroid / qr-code

QR Code Generator
https://endroid.nl
MIT License
4.41k stars 725 forks source link

How can I add an image with input type file? #430

Closed uguraltinsoy closed 9 months ago

uguraltinsoy commented 9 months ago

How can I add an image with input type file?

endroid commented 9 months ago

Hi @uguraltinsoy when you use the builder you can use $builder->logoPath($path) and if you work without the builder you can pass the path as argument in $logo = Logo::create($path). Good luck!