public function setImage(\Imagick $image)
    {
        $this->originalImage = $image;

        // set base image dimensions
        $this->setBaseDimensions(
            $this->originalImage->getImageWidth(),
            $this->originalImage->getImageHeight()
        );
        return $this;
    }
public function setImage(\Imagick $image)
    {
        $this->originalImage = $image;

        // set base image dimensions
        $this->setBaseDimensions(
            $this->originalImage->getImageWidth(),
            $this->originalImage->getImageHeight()
        );
        return $this;
    }
public function setImage ( \ Imagick $ image ) { $ this -> originalImage = $ image ; // set base image dimensions $ this -> setBaseDimensions ( $ this -> originalImage -> getImageWidth ( ) , $ this -> originalImage -> getImageHeight ( ) ) ; return $ this ; }
Sets the object Image to be croped

@param  \Imagick $image
@return Crop
Sets the object Image to be croped