We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$content = $this->qrcode($token,$path.$id); $QRCodeReader = new QRCodeReader(); $qrcode_text = $QRCodeReader->decode(base64_encode($content)); var_dump($qrcode_text);
The text was updated successfully, but these errors were encountered:
is un error in te file ../lib/QrReader.php in the line 61 inner file , the solution is add this extra prosess:
../lib/QrReader.php
line 61
for($i=0;$i<count($imageDetails);$i++) { if(preg_match("/^[0-9]+(x)[0-9]+$/",trim($imageDetails[$i]))>0){ $imageSize = explode('x', trim($imageDetails[$i])) ; break; } }
also the call function $QRCodeReader->decode(base64_encode($content)); is
$QRCodeReader->decode(base64_encode($content));
$QRCodeReader = new \Libern\QRCodeReader\QRCodeReader(); $qrcode_text = $QRCodeReader->decode($request->input('img')); return \Response::json($qrcode_text);
example
Sorry, something went wrong.
A pull request is welcome :)
No branches or pull requests
The text was updated successfully, but these errors were encountered: