original_string: public function display()
  	{
  		if ( $this->test() ){
  			if ( !headers_sent() ){
  				header('Content-Type: image/'.$this->ext2);
  			}
  			if ( class_exists('\\Imagick') ){
  				echo $this->img;
  				$this->img->clear();
  				$this->img->destroy();
  			}
  			else{
  				\call_user_func('image'.$this->ext2, $this->img);
  				imagedestroy($this->img);
  			}
  		}
  		return $this;
  	}
code: public function display()
  	{
  		if ( $this->test() ){
  			if ( !headers_sent() ){
  				header('Content-Type: image/'.$this->ext2);
  			}
  			if ( class_exists('\\Imagick') ){
  				echo $this->img;
  				$this->img->clear();
  				$this->img->destroy();
  			}
  			else{
  				\call_user_func('image'.$this->ext2, $this->img);
  				imagedestroy($this->img);
  			}
  		}
  		return $this;
  	}
code_tokens: public function display ( ) { if ( $ this -> test ( ) ) { if ( ! headers_sent ( ) ) { header ( 'Content-Type: image/' . $ this -> ext2 ) ; } if ( class_exists ( '\\Imagick' ) ) { echo $ this -> img ; $ this -> img -> clear ( ) ; $ this -> img -> destroy ( ) ; } else { \ call_user_func ( 'image' . $ this -> ext2 , $ this -> img ) ; imagedestroy ( $ this -> img ) ; } } return $ this ; }
docstring: Sends the image with Content-Type.
  
  ```php
  $img = new bbn\file\image("/home/data/test/image.jpg");
  $img->display();
  ```
  
  @return image
docstring_tokens: Sends the image with Content - Type .