5.0-beta #188
Replies: 6 comments 11 replies
-
Release notes (draft)New Features
Changes
APIThe full API documentation can be found under https://chillerlan.github.io/php-qrcode/ class names are relative from the namespace Changed/Movedwithout deprecation
deprecatedThe following items are deprecated as of v5 and will be removed in v6.
Added
Removed
|
Beta Was this translation helpful? Give feedback.
-
Hi...noob question, got v5 going all good. However, Im finding it quite easy to cause "image cannot be displayed because it has errors" when using specific urls (characters actually) urls with ? and = and other such characters.....should I be encoding these to prevent this ? (should mention Im using qr with embedded imagick image/logo) |
Beta Was this translation helpful? Give feedback.
-
Sweet, thanks and thanks for the fast responses. One other little aside question....If Im using anon-square logo (say 2:1 aspect) is there a simple way to centre it (vertically in the image ? or can I define an aspect ratio that matches my logo in some way ? |
Beta Was this translation helpful? Give feedback.
-
Following up on this, I got the logo to centre up (horizontally or vertically) if its a non-square image so for anyone interested, there's a few extra lines of maths code here: $imageprops = $imLogo->getImageGeometry(); $y_offset = (($size - ($size*$height/$width))/2 > 0) ? ($size - ($size*$height/$width))/2 : 0; $x_offset = (($size - ($size*$width/$height))/2 > 0) ? ($size - ($size*$width/$height))/2 : 0; $imLogo->resizeImage($size, $size, Imagick::FILTER_LANCZOS, 0.85, true); // add the logo to the qrcode Thanks again to codemasher for the support :) |
Beta Was this translation helpful? Give feedback.
-
Love this repo, just wanted to ask that the |
Beta Was this translation helpful? Give feedback.
-
Hey thanks for this package ! I just wanted to know if you have a release date ? I want to use your repo but I prefer to wait until the v5 release, I don't want to start coding on the v4 and have to change just after for the v5. Thanks for the response ! |
Beta Was this translation helpful? Give feedback.
-
It's here! The main public API is finished so far. What's left is some cleanup dan documenting. Feel free to leave feedback in the linked discussion thread. Thanks!
This discussion was created from the release 5.0-beta.
Beta Was this translation helpful? Give feedback.
All reactions