Documentation

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 (if available) when reading QR Codes, enables Imagick for the QR Code reader if the extension is available

Properties

$readerIncreaseContrast

Increase the contrast before reading

public bool $readerIncreaseContrast = false

note that applying contrast works different in GD and Imagick, so mileage may vary

$readerUseImagickIfAvailable

Use Imagick (if available) when reading QR Codes, enables Imagick for the QR Code reader if the extension is available

public bool $readerUseImagickIfAvailable = false
Hooks
public set

        
On this page

Search results