*** imagecache_autorotate.module	2013-02-28 19:55:32.625472475 -0500
--- NEWimagecache_autorotate.module	2013-02-28 19:55:55.138241666 -0500
***************
*** 115,120 ****
--- 115,125 ----
          $org_width = $image->info['width'];
          $org_height = $image->info['height'];
          image_rotate($image, $degrees);
+         // If GD rotated the image it strips off EXIF data. If we use
+         // Imagemagick we have to do it ourselves
+         if ($image->toolkit == 'imagemagick' && function_exists('image_imagemagick_strip')) {
+             image_imagemagick_strip($image);
+         }
          if (($degrees === 90 || $degrees === 270) && $image->info['width'] === $org_width) {
            // The toolkit failed to alter the dimensions (imagemagick currently
            // fails to do so). So we do it ourselves.
