public function setWatermarkSize($size)
    {
        if (is_array($size)) {
            $this->setWatermarkWidth($size['width'])->setWatermarkHeight($size['height']);
        }
        return $this;
    }
public function setWatermarkSize($size)
    {
        if (is_array($size)) {
            $this->setWatermarkWidth($size['width'])->setWatermarkHeight($size['height']);
        }
        return $this;
    }
public function setWatermarkSize ( $ size ) { if ( is_array ( $ size ) ) { $ this -> setWatermarkWidth ( $ size [ 'width' ] ) -> setWatermarkHeight ( $ size [ 'height' ] ) ; } return $ this ; }
Set watermark size

@param array $size
@return $this
Set watermark size