diff -urp imageapi/imageapi_gd.module _imageapi/imageapi_gd.module
--- imageapi/imageapi_gd.module	2007-12-23 17:27:04.000000000 +1100
+++ _imageapi/imageapi_gd.module	2008-02-06 14:36:25.000000000 +1100
@@ -52,7 +52,7 @@ function imageapi_gd_image_crop(&$image,
   $image->res = $res;
   $image->info['width'] = $width;
   $image->info['height'] = $height;
-  return TRUE;
+  return $image;
   
 }
 
@@ -92,14 +92,14 @@ function imageapi_gd_image_resize(&$imag
   $image->res = $res;
   $image->info['width'] = $width;
   $image->info['height'] = $width;
-  return TRUE;
+  return $image;
 }
 
 function imageapi_gd_image_rotate(&$image, $degrees, $bgcolor) {
   $res = imageRotate($image->res, $degrees, $bgcolor);
   imageDestroy($image->res);
   $image->res = $res;
-  return TRUE;
+  return $image;
 } 
 
 function imageapi_gd_image_desaturate(&$image) {
@@ -141,7 +141,7 @@ function imageapi_gd_image_desaturate(&$
     imageDestroy($image->res);
     $image->res = $res;
   }
-  return TRUE;
+  return $image;
 }
 
 /**
diff -urp imageapi/imageapi.module _imageapi/imageapi.module
--- imageapi/imageapi.module	2008-01-03 00:58:00.000000000 +1100
+++ _imageapi/imageapi.module	2008-02-06 14:36:09.000000000 +1100
@@ -152,8 +152,9 @@ function imageapi_image_scale_and_crop(&
   $x = round(($image->info['width'] * $scale - $width) / 2);
   $y = round(($image->info['height'] * $scale - $height) / 2);
  
-  if (imageapi_image_resize($image, $image->info['width'] * $scale, $image->info['height'] * $scale)) {
-    return imageapi_image_crop($image, $x, $y, $width, $height);
+  if ($image = imageapi_image_resize($image, $image->info['width'] * $scale, $image->info['height'] * $scale)) {
+    $image = imageapi_image_crop($image, $x, $y, $width, $height);
+    return $image;
   }
   return FALSE;
 }
@@ -252,7 +253,8 @@ function imageapi_image_rotate(&$image, 
  *   modifed image object.
  */
 function imageapi_image_crop(&$image, $x, $y, $width, $height) {
-  return call_user_func($image->toolkit .'_image_crop', $image, $x, $y, $width, $height);
+  $image = call_user_func($image->toolkit .'_image_crop', $image, $x, $y, $width, $height);
+  return $image;
 }
  
 
