no, I just showed you the interesting part
(of course there is GD, otherways you wouldn't see the image in my sig)
I'm not getting no error, because the image is created and destroyed after passing the function (ie, if there's an error it doesn't brake the execution)
As it's image/png i don't see the parser notices
(i'm trying it in html)