in /includes/image_utils.php find two times:
$resize_handle = "resize_image_".$convert_options['convert_tool'];
replace both with: $resize_handle = "resize_image_".(($image_info[2] == 1) ? "im" : $convert_options['convert_tool']);
Did anyone get this fix working without those annoying errors that pop up when you upload a gif? The fix works, and works well. Gifs are done with netpbm/IM and jpgs are annotated with GD. The only problem is these errors that pop up. I tried it with netpbm and IM and I always got these exact errors. Is theer a way to disable the annotate script when uploading a gif??:
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 31
Warning: imagecolorresolvealpha(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 32
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 31
Warning: imagecolorresolvealpha(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 32
Warning: imagecopymerge(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 168
Warning: imagejpeg(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 169
Warning: imagedestroy(): supplied argument is not a valid Image resource in /home/yegor/public_html/pix/includes/annotate.php on line 170