src/bbn/file/image.php
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;
	}
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;
	}
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 ; }
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.
Converts the image s color with polaroid filter .