Write image templates with HTML and CSS. Convert them to images the way you want. Authored by @ph_bernard.