QRCodeReaderOptionsTrait
Trait QRCodeReaderOptionsTrait
Table of Contents
Properties
- $readerGrayscale : bool
- Grayscale the image before reading.
- $readerIncreaseContrast : bool
- Increase the contrast before reading.
- $readerInvertColors : bool
- Invert the colors of the image.
- $readerUseImagickIfAvailable : bool
- Use Imagick when reading QR Codes.
Properties
$readerGrayscale
Grayscale the image before reading.
public
bool
$readerGrayscale
= false
$readerIncreaseContrast
Increase the contrast before reading.
public
bool
$readerIncreaseContrast
= false
Note that applying contrast works different in GD and Imagick, so mileage may vary.
$readerInvertColors
Invert the colors of the image.
public
bool
$readerInvertColors
= false
$readerUseImagickIfAvailable
Use Imagick when reading QR Codes.
public
bool
$readerUseImagickIfAvailable
= false
Enables Imagick for the QR Code reader if the extension is available.
Hooks
public
set