@@ -59,7 +59,7 @@ |
||
59 | 59 | private function setLuminancePixels():void{ |
60 | 60 | |
61 | 61 | if($this->options->readerGrayscale){ |
62 | - imagefilter($this->gdImage, IMG_FILTER_GRAYSCALE); |
|
62 | + imagefilter($this->gdImage, IMG_FILTER_GRAYSCALE); |
|
63 | 63 | } |
64 | 64 | |
65 | 65 | if($this->options->readerIncreaseContrast){ |
@@ -59,7 +59,7 @@ |
||
59 | 59 | $count = count($pixels); |
60 | 60 | |
61 | 61 | for($i = 0; $i < $count; $i += 3){ |
62 | - $this->setLuminancePixel($pixels[$i] & 0xff, $pixels[$i + 1] & 0xff, $pixels[$i + 2] & 0xff); |
|
62 | + $this->setLuminancePixel($pixels[$i]&0xff, $pixels[$i + 1]&0xff, $pixels[$i + 2]&0xff); |
|
63 | 63 | } |
64 | 64 | } |
65 | 65 |