original_string: public function polaroid()
  	{
  		if ( $this->test() ){
  			if ( class_exists('\\Imagick') ){
  				if ( !$this->img->polaroidImage(new \ImagickDraw(), 0) ){
  					$this->error = \defined('BBN_THERE_HAS_BEEN_A_PROBLEM') ?
  						BBN_THERE_HAS_BEEN_A_PROBLEM : 'There has been a problem';
  				}
  			}
  		}
  		return $this;
  	}
code: public function polaroid()
  	{
  		if ( $this->test() ){
  			if ( class_exists('\\Imagick') ){
  				if ( !$this->img->polaroidImage(new \ImagickDraw(), 0) ){
  					$this->error = \defined('BBN_THERE_HAS_BEEN_A_PROBLEM') ?
  						BBN_THERE_HAS_BEEN_A_PROBLEM : 'There has been a problem';
  				}
  			}
  		}
  		return $this;
  	}
code_tokens: public function polaroid ( ) { if ( $ this -> test ( ) ) { if ( class_exists ( '\\Imagick' ) ) { if ( ! $ this -> img -> polaroidImage ( new \ ImagickDraw ( ) , 0 ) ) { $ this -> error = \ defined ( 'BBN_THERE_HAS_BEEN_A_PROBLEM' ) ? BBN_THERE_HAS_BEEN_A_PROBLEM : 'There has been a problem' ; } } } return $ this ; }
docstring: Converts the image's color with polaroid filter.
  
  ```php
  $img = new bbn\file\image("/home/data/test/image.jpg");
  $img->polaroid()->save();
  ```
  
  @return image
  @todo Transparency of png files.
docstring_tokens: Converts the image s color with polaroid filter .