aferrandini/PHPQRCode

QRimage::image is private (not clear how to get a binary image)

rogiermulders opened this issue · 2 comments

QRimage::image is a private static function.

I need the raw image data for an email attachment.
It is not clear to me how to get a binary image other than hacking the private function.

Two solutions maybe.
a) If there is a way to get the raw image make it more clear how to do that.
b) Just make QRimage::image public. Users should know what to do with it.

byjg commented

This project seems abandoned :(

I had a similar problem and I forked this project and implement this changes here: https://github.com/byjg/PHPQRCode/blob/master/lib/PHPQRCode/QRimage.php

@rogiermulders Sorry for my silence, this package is abandoned. Please use endroid/qr-code instead.