I\'m using a modified version of the SimpleImage.php class: http://www.white-hat-web-design.co.uk/articles/php-image-resizing.php
The edits I found on phpfreaks (htt
The function imagecreatetruecolor() does not work with GIF's. Use the imagecreate method instead:
imagecreatetruecolor()
imagecreate
if($this->image_type == IMAGETYPE_GIF){ $new_image = imagecreate( $Width, $Height ); // for gif files } else{ $new_image = imagecreatetruecolor($Width, $Height); // for all other files }