Static functions to turn texts into images enhaced. example now contains a simple script to test these functions. TODO: allow multiline writing