public function displayImage($string, $size = 64, $color = null, $backgroundColor = null)
    {
        header('Content-Type: '.$this->generator->getMimeType());
        echo $this->getImageData($string, $size, $color, $backgroundColor);
    }
public function displayImage($string, $size = 64, $color = null, $backgroundColor = null)
    {
        header('Content-Type: '.$this->generator->getMimeType());
        echo $this->getImageData($string, $size, $color, $backgroundColor);
    }
public function displayImage ( $ string , $ size = 64 , $ color = null , $ backgroundColor = null ) { header ( 'Content-Type: ' . $ this -> generator -> getMimeType ( ) ) ; echo $ this -> getImageData ( $ string , $ size , $ color , $ backgroundColor ) ; }
Display an Identicon image.

@param string $string
@param int    $size
@param string $color
@param string $backgroundColor
Display an Identicon image .