static function Write($message, $width = 250, $height = 150, $backgroundColor = null, $fontColor = null, $fontId = 1)
	{
		if ($backgroundColor == null) $backgroundColor = array(255,255,255);
		if ($backgroundColor == null) $backgroundColor = array(0,0,0);
		
		$im = self::GetErrorImage($message, $width, $height, $backgroundColor, $fontColor, $fontId);
		header('Content-type: image/png');
		imagepng($im);
		imagedestroy($im);
	}
static function Write($message, $width = 250, $height = 150, $backgroundColor = null, $fontColor = null, $fontId = 1)
	{
		if ($backgroundColor == null) $backgroundColor = array(255,255,255);
		if ($backgroundColor == null) $backgroundColor = array(0,0,0);
		
		$im = self::GetErrorImage($message, $width, $height, $backgroundColor, $fontColor, $fontId);
		header('Content-type: image/png');
		imagepng($im);
		imagedestroy($im);
	}
static function Write ( $ message , $ width = 250 , $ height = 150 , $ backgroundColor = null , $ fontColor = null , $ fontId = 1 ) { if ( $ backgroundColor == null ) $ backgroundColor = array ( 255 , 255 , 255 ) ; if ( $ backgroundColor == null ) $ backgroundColor = array ( 0 , 0 , 0 ) ; $ im = self :: GetErrorImage ( $ message , $ width , $ height , $ backgroundColor , $ fontColor , $ fontId ) ; header ( 'Content-type: image/png' ) ; imagepng ( $ im ) ; imagedestroy ( $ im ) ; }
Output a png image to the browser, including headers
@param string $message
@param int $width
@param int $height
@param array $backgroundColor RGB values from 0-255.  example: array(0,0,0);
@param array $fontColor RGB values from 0-255.  example: array(0,0,0);
@param int $fontId (number between 1 and 5);
Output a png image to the browser including headers