? imageapi-rotate_90_270.patch
? imageapi_rbga_rgba.patch
Index: imagerotate.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imageapi/imagerotate.inc,v
retrieving revision 1.3.4.1
diff -u -p -r1.3.4.1 imagerotate.inc
--- imagerotate.inc	13 Feb 2009 00:06:21 -0000	1.3.4.1
+++ imagerotate.inc	13 Feb 2009 02:07:21 -0000
@@ -71,13 +71,13 @@ function imagerotate(&$im, $angle, $bgco
   imagesavealpha($rotate, true);
 
   switch ($angle) {
-    case 270:
+    case 90:
       $rot_width--;
       for ($y = 0; $y < $height; ++$y)
         for ($x = 0; $x < $width; ++$x)
           imagesetpixel($rotate, $rot_width - $y, $x, imagecolorat($im, $x, $y));
       break;
-    case 90:
+    case 270:
       $rot_height--;
       for ($y = 0; $y < $height; ++$y)
         for ($x = 0; $x < $width; ++$x)
