mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-14 07:46:21 +00:00
🚿 docblocks (WIP)
This commit is contained in:
@@ -39,6 +39,9 @@ final class IMagickLuminanceSource extends LuminanceSource{
|
||||
$this->setLuminancePixels();
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private function setLuminancePixels():void{
|
||||
$this->imagick->setImageColorspace(Imagick::COLORSPACE_GRAY);
|
||||
$pixels = $this->imagick->exportImagePixels(1, 1, $this->width, $this->height, 'RGB', Imagick::PIXEL_CHAR);
|
||||
|
||||
Reference in New Issue
Block a user