3.4.0
✨ One Million Edition ✨
New features:
- support for logos:
QRMatrix::setLogoSpace()
(example), added constantQRMatrix::M_LOGO
(#52) - allowed coloring the dot of the finder patterns individually via the new constant
QRMatrix::M_FINDER_DOT
(#52) - allowed returning the image resource (
resource
,GdImage
,Imagick
,FPDF
) fromQROutputInterface::dump()
viaQROptions::$returnResource
- allowed returning base64 encoded data URIs for SVG and FPDF output
- this change may break backwards compatibility for these output modes - to fix this, set
QROptions::$imageBase64
tofalse
.
- this change may break backwards compatibility for these output modes - to fix this, set
Fixes & cleanup:
- fixed a bug that could cause unexpected "code length overflow" exceptions for version 33 QR Codes
- stopped tampering with
mb_internal_encoding()
as it had no effect here anyways - check for
ext-gd
andext-imagick
when initializing the respective output modules
(deleted & re-released as the previous 3.4.0 tag pointed to the 4.x branch. sorry for any inconvenience, i am dumb.)