Il php è case sensitive..
imageCreateTrueColor != da imagecreatetruecolor

cambialo

non so com'è che non ti da errore