original_string: public function initFromImagick(\Imagick $object)
      {
          // currently animations are not supported
          // so all images are turned into static
          $object = $this->removeAnimation($object);
  
          // reset image orientation
          $object->setImageOrientation(\Imagick::ORIENTATION_UNDEFINED);
  
          return new Image(new Driver, $object);
      }
code: public function initFromImagick(\Imagick $object)
      {
          // currently animations are not supported
          // so all images are turned into static
          $object = $this->removeAnimation($object);
  
          // reset image orientation
          $object->setImageOrientation(\Imagick::ORIENTATION_UNDEFINED);
  
          return new Image(new Driver, $object);
      }
code_tokens: public function initFromImagick ( \ Imagick $ object ) { // currently animations are not supported // so all images are turned into static $ object = $ this -> removeAnimation ( $ object ) ; // reset image orientation $ object -> setImageOrientation ( \ Imagick :: ORIENTATION_UNDEFINED ) ; return new Image ( new Driver , $ object ) ; }
docstring: Initiates new image from Imagick object
  
  @param  Imagick $object
  @return \Intervention\Image\Image
docstring_tokens: Initiates new image from Imagick object