imagecopyresampled diventa imagecopyresized
imagecreatetruecolor diventa imagecreate