| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 23 | final class IMagickLuminanceSource extends LuminanceSource{ |
||
| 24 | |||
| 25 | private Imagick $imagick; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * IMagickLuminanceSource constructor. |
||
| 29 | * |
||
| 30 | * @param \Imagick $imagick |
||
| 31 | * |
||
| 32 | * @throws \InvalidArgumentException |
||
| 33 | */ |
||
| 34 | public function __construct(Imagick $imagick){ |
||
| 35 | parent::__construct($imagick->getImageWidth(), $imagick->getImageHeight()); |
||
| 36 | |||
| 37 | $this->imagick = $imagick; |
||
| 38 | |||
| 39 | $this->setLuminancePixels(); |
||
| 40 | } |
||
| 41 | |||
| 42 | private function setLuminancePixels():void{ |
||
| 50 | } |
||
| 51 | } |
||
| 54 |