I might do that, and while I'm doing that, I could also talk about making different layers, setting filters, etc... but this isn't ment to be a tutorial on all possible ways to manipulate an image with php, it's only an introduction to it, so it must remain simple.
And destroying the image...