]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 29 Apr 2013 10:27:50 +0000 (10:27 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 29 Apr 2013 10:27:50 +0000 (10:27 +0000)
coders/caption.c
coders/info.c
coders/label.c
coders/pango.c

index 555bc0f530992d053b5307474b70349f19bb0e0e..66d09c0a695000129aa7457cd8580651a5befc09 100644 (file)
@@ -139,13 +139,15 @@ static Image *ReadCAPTIONImage(const ImageInfo *image_info,
   */
   option=GetImageOption(image_info,"filename");
   if (option == (const char *) NULL)
-    property=InterpretImageProperties(image_info,image,image_info->filename,
-      exception);
+    property=InterpretImageProperties((ImageInfo *) image_info,image,
+      image_info->filename,exception);
   else
     if (LocaleNCompare(option,"caption:",8) == 0)
-      property=InterpretImageProperties(image_info,image,option+8,exception);
+      property=InterpretImageProperties((ImageInfo *) image_info,image,option+8,
+        exception);
     else
-      property=InterpretImageProperties(image_info,image,option,exception);
+      property=InterpretImageProperties((ImageInfo *) image_info,image,option,
+        exception);
   (void) SetImageProperty(image,"caption",property,exception);
   property=DestroyString(property);
   caption=ConstantString(GetImageProperty(image,"caption",exception));
index bd95686e5039c5a700c19060ea4ca29848e9c9cd..708e2dc1b49436ed96e835a11acf1148b0eae564 100644 (file)
@@ -198,7 +198,8 @@ static MagickBooleanType WriteINFOImage(const ImageInfo *image_info,
         char
           *text;
 
-        text=InterpretImageProperties(image_info,image,format,exception);
+        text=InterpretImageProperties((ImageInfo *) image_info,image,format,
+          exception);
         if (text != (char *) NULL)
           {
             (void) WriteBlobString(image,text);
index cbcbe433117b9ae17d059af3fcb87dc68ace3535..c2a9463e2d0079af10cf88cb3ffc4630f613809e 100644 (file)
@@ -124,8 +124,8 @@ static Image *ReadLABELImage(const ImageInfo *image_info,
   assert(exception->signature == MagickSignature);
   image=AcquireImage(image_info,exception);
   (void) ResetImagePage(image,"0x0+0+0");
-  property=InterpretImageProperties(image_info,image,image_info->filename,
-    exception);
+  property=InterpretImageProperties((ImageInfo *) image_info,image,
+    image_info->filename,exception);
   (void) SetImageProperty(image,"label",property,exception);
   property=DestroyString(property);
   label=GetImageProperty(image,"label",exception);
index a0ed05994de8e254b3777e73df7b2c805a53717f..62d56b2ebfb3601b9429be362ae3f8cbcead0479 100644 (file)
@@ -179,13 +179,15 @@ static Image *ReadPANGOImage(const ImageInfo *image_info,
   */
   option=GetImageOption(image_info,"filename");
   if (option == (const char *) NULL)
-    property=InterpretImageProperties(image_info,image,image_info->filename,
-      exception);
+    property=InterpretImageProperties((ImageInfo *) image_info,image,
+      image_info->filename,exception);
   else
     if (LocaleNCompare(option,"pango:",6) == 0)
-      property=InterpretImageProperties(image_info,image,option+6,exception);
+      property=InterpretImageProperties((ImageInfo *) image_info,image,option+6,
+        exception);
     else
-      property=InterpretImageProperties(image_info,image,option,exception);
+      property=InterpretImageProperties((ImageInfo *) image_info,image,option,
+        exception);
   (void) SetImageProperty(image,"caption",property,exception);
   property=DestroyString(property);
   caption=ConstantString(GetImageProperty(image,"caption",exception));