-
Notifications
You must be signed in to change notification settings - Fork 326
Open
Description
use Zxing\QrReader;
$qrcode = new QrReader($path);
echo '
',print_r($qrcode->text()),'';
VENDORPATH\zxing\qr-reader\lib\GDLuminanceSource.php at line 54
47 {
48 parent::__construct($width, $height);
49
50 $this->dataWidth = $width;
51 $this->dataHeight = $height;
52 $this->left = 0;
53 $this->top = 0;
54 $this->$gdImage = $gdImage;
55
56
57 // In order to measure pure decoding speed, we convert the entire image to a greyscale array
58 // up front, which is the same as the Y channel of the YUVLuminanceSource in the real app.
59 $this->luminances = array();
60 //$this->luminances = $this->grayScaleToBitmap($this->grayscale());
61
Metadata
Metadata
Assignees
Labels
No labels