Add support for using GD library
There is no support for Imagick for PHP 8.2 and above in Windows, thus making the package unusable for newer projects that are using minimum PHP 8.2. This PR add supports to use the GDLibRenderer which available on Bacon/BaconQrCode if the Imagick extension is not supported.
Just FYI, I did managed to get Imagick & the QR Code library working with PHP 8.2.12 in Windows 11. Some articles that helped me: https://github.com/Imagick/imagick/issues/573 https://github.com/Imagick/imagick/issues/575 https://phpext.phptools.online/extension/images/imagick-121
Just FYI, I did managed to get Imagick & the QR Code library working with PHP 8.2.12 in Windows 11. Some articles that helped me: Imagick/imagick#573 Imagick/imagick#575 https://phpext.phptools.online/extension/images/imagick-121
Thanks for pointing it out. Will check on these. Thanks!
Any update on this? Having an issue where Imagick is not supported on PHP8.3 and thus unable to generate PNG QR Codes (for emails for example)
I've created a fork of this repository at. https://github.com/f9webltd/simple-qrcode. IF you submit the same PR there I'll merge it in 👍