protected function createImage()
    {
        // create image
        $this->image = @imagecreatetruecolor($this->width, $this->height);

        // set mime type
        $this->mimeType = 'image/png';

        // set modified date
        $this->modified = time();
    }
protected function createImage()
    {
        // create image
        $this->image = @imagecreatetruecolor($this->width, $this->height);

        // set mime type
        $this->mimeType = 'image/png';

        // set modified date
        $this->modified = time();
    }
protected function createImage ( ) { // create image $ this -> image = @ imagecreatetruecolor ( $ this -> width , $ this -> height ) ; // set mime type $ this -> mimeType = 'image/png' ; // set modified date $ this -> modified = time ( ) ; }
Creates a new true color image.

@return void
Creates a new true color image .