]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Thu, 30 Jun 2011 14:31:48 +0000 (14:31 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Thu, 30 Jun 2011 14:31:48 +0000 (14:31 +0000)
magick/constitute.c
wand/mogrify.c

index 433280b96e06cf92a9dead50ff55c7137636c21a..9d08c37b6334bc10632ae9d6f422ddc869c8f903 100644 (file)
@@ -1220,7 +1220,7 @@ MagickExport MagickBooleanType WriteImage(const ImageInfo *image_info,
     }
   if ((LocaleCompare(write_info->magick,"info") != 0) &&
       (write_info->verbose != MagickFalse))
-    (void) IdentifyImage(image,stdout,MagickFalse);
+    (void) IdentifyImage(image,stderr,MagickFalse);
   write_info=DestroyImageInfo(write_info);
   return(status);
 }
index cb8f84489b2516b1fa1bb69c99c902327d4552ad..c2702d906762052fc78064f46ec398625b7fd217 100644 (file)
@@ -293,10 +293,6 @@ WandExport MagickBooleanType MagickCommandGenesis(ImageInfo *image_info,
 %
 */
 
-/*
-** GetImageCache() will read an image into a image cache if not already
-** present then return the image that is in the cache under that filename.
-*/
 static inline Image *GetImageCache(const ImageInfo *image_info,const char *path,
   ExceptionInfo *exception)
 {
@@ -312,6 +308,10 @@ static inline Image *GetImageCache(const ImageInfo *image_info,const char *path,
   ImageInfo
     *read_info;
 
+  /*
+    Read an image into a image cache if not already present and return the
+    image that is in the cache under that filename.
+  */
   (void) FormatLocaleString(key,MaxTextExtent,"cache:%s",path);
   sans_exception=AcquireExceptionInfo();
   image=(Image *) GetImageRegistry(ImageRegistryType,key,sans_exception);