Added static function TextToImage
Added static functions.