]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 1 Apr 2012 14:05:10 +0000 (14:05 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 1 Apr 2012 14:05:10 +0000 (14:05 +0000)
MagickCore/property.c

index 923cd4a58dce5b637887282f8be1ffa6c4e9f64b..15db9daf3f294c002e9adf04c2b90c63a74d1065 100644 (file)
@@ -2368,6 +2368,13 @@ MagickExport const char *GetMagickProperty(const ImageInfo *image_info,
             "true",MaxTextExtent);
           break;
         }
+      if (LocaleNCompare("orientation",property,11) == 0)
+        {
+          (void) FormatLocaleString(value,MaxTextExtent,"%s", 
+            CommandOptionToMnemonic(MagickOrientationOptions,(ssize_t) 
+            image->orientation));
+          break;
+        }
       if (LocaleNCompare("output",property,6) == 0)
         {
           (void) CopyMagickString(value,image_info->filename,MaxTextExtent);