mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-11-23 19:52:15 +00:00
:octocat: allow contrast adjustment and grayscaling in the reader
This commit is contained in:
@@ -48,8 +48,14 @@ interface LuminanceSourceInterface{
|
||||
*/
|
||||
public function getRow(int $y):array;
|
||||
|
||||
|
||||
/**
|
||||
* Creates a LuminanceSource instance from the given file
|
||||
*/
|
||||
public static function fromFile(string $path):self;
|
||||
|
||||
/**
|
||||
* Creates a LuminanceSource instance from the given data blob
|
||||
*/
|
||||
public static function fromBlob(string $blob):self;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user