Index: imageapi_gd.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imageapi/imageapi_gd.module,v
retrieving revision 1.13.2.6
diff -u -p -r1.13.2.6 imageapi_gd.module
--- imageapi_gd.module	13 Apr 2009 19:10:38 -0000	1.13.2.6
+++ imageapi_gd.module	17 Apr 2009 00:12:10 -0000
@@ -27,15 +27,6 @@ function imageapi_gd_settings_form() {
     '#default_value' => variable_get('imageapi_jpeg_quality', 75),
     '#field_suffix' => '%',
   );
-  $form['imageapi_crop_background'] = array(
-    '#type' => 'textfield',
-    '#title' => t('Crop background'),
-    '#description' => t('Hex string specifying the background color to use when cropping images. If not provided, will use the default. Examples: "ABC", "ABCD", "AABBCC", "AABBCCDD".'),
-    '#size' => 10,
-    '#maxlength' => 8,
-    '#default_value' => variable_get('imageapi_crop_background', ''),
-    '#field_prefix' => '#',
-  );
   return system_settings_form($form);
 }
 
@@ -161,7 +152,7 @@ function imageapi_gd_image_resize(&$imag
  * @return
  *   TRUE or FALSE, based on success.
  */
- function imageapi_gd_image_rotate(&$image, $degrees, $bgcolor) {
+ function imageapi_gd_image_rotate(&$image, $degrees, $background) {
   // PHP installations using non-bundled GD do not have imagerotate.
   if (!function_exists('imagerotate')) {
     require_once drupal_get_path('module', 'imageapi_gd') .'/imagerotate.inc';
