ciao
stavo provando questo code ma perche non funziona?? mi sapete aiutare?
(spero di si )

codice:
<?php
// File and new size
$filename = 'test.jpg';
// Content type
header('Content-type: image/jpeg');
// Get new sizes
$newwidth = '100';
$newheight = '100';
// Load
$thumb = imagecreatetruecolor($newwidth, $newheight);
$source = imagecreatefromjpeg($filename);
// Resize
imagecopyresized($thumb, $source, 0, 0, 0, 0, $newwidth, $newheight, $width, $height);
// Output
imagejpeg($thumb);
?>
stampa questo errore
codice:

Fatal error:  Call to undefined function:  imagecreatetruecolor() in d:\programmi\apache group\apache\test\tb\tb.php on line 10