? imageapi_imagemagick.diff
Index: imageapi_gd.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imageapi/imageapi_gd.module,v
retrieving revision 1.8.2.5
diff -u -p -r1.8.2.5 imageapi_gd.module
--- imageapi_gd.module	18 Mar 2009 10:09:02 -0000	1.8.2.5
+++ imageapi_gd.module	13 Apr 2009 19:07:09 -0000
@@ -239,7 +239,7 @@ function imageapi_gd_image_desaturate(&$
  * @return
  *   A GD image handle.
  */
-function imageapi_gd_create_tmp(stdClass $image, $width, $height) {
+function imageapi_gd_create_tmp($image, $width, $height) {
   $res = imagecreatetruecolor($width, $height);
 
   if ($image->info['extension'] == 'gif') {
