I have worked with dynamic images when I was creating some family tree software but this is a quite good tutorial, nice and easy to understand. ;)
Rep++ :)
For the more advanced programmer you can do a whole lot more with images such as change fonts, draw shapes and etc. Below is the official...