clip_image=GetImageMask(image,exception);
if (clip_image == (Image *) NULL)
return(MagickFalse);
- (void) CopyMagickString(clip_image->filename,image->filename,MagickPathExtent);
+ (void) CopyMagickString(clip_image->filename,image->filename,
+ MagickPathExtent);
write_info=CloneImageInfo(image_info);
+ *write_info->magick='\0';
(void) SetImageInfo(write_info,1,exception);
if (LocaleCompare(write_info->magick,"CLIP") == 0)
(void) FormatLocaleString(clip_image->filename,MagickPathExtent,"miff:%s",
(void) CopyMagickString(histogram_image->filename,image_info->filename,
MagickPathExtent);
write_info=CloneImageInfo(image_info);
+ *write_info->magick='\0';
(void) SetImageInfo(write_info,1,exception);
if (LocaleCompare(write_info->magick,"HISTOGRAM") == 0)
- (void) FormatLocaleString(histogram_image->filename,MagickPathExtent,"miff:%s",
- write_info->filename);
+ (void) FormatLocaleString(histogram_image->filename,MagickPathExtent,
+ "miff:%s",write_info->filename);
status=WriteImage(write_info,histogram_image,exception);
histogram_image=DestroyImage(histogram_image);
write_info=DestroyImageInfo(write_info);
mask_image=MaskImage(image,exception);
if (mask_image == (Image *) NULL)
return(MagickFalse);
- (void) CopyMagickString(mask_image->filename,image->filename,MagickPathExtent);
+ (void) CopyMagickString(mask_image->filename,image->filename,
+ MagickPathExtent);
write_info=CloneImageInfo(image_info);
+ *write_info->magick='\0';
(void) SetImageInfo(write_info,1,exception);
if (LocaleCompare(write_info->magick,"MASK") == 0)
(void) FormatLocaleString(mask_image->filename,MagickPathExtent,"miff:%s",
(void) CopyMagickString(preview_image->filename,image_info->filename,
MagickPathExtent);
write_info=CloneImageInfo(image_info);
+ *write_info->magick='\0';
(void) SetImageInfo(write_info,1,exception);
if (LocaleCompare(write_info->magick,"PREVIEW") == 0)
(void) FormatLocaleString(preview_image->filename,MagickPathExtent,
(void) CopyMagickString(thumbnail_image->filename,image->filename,
MagickPathExtent);
write_info=CloneImageInfo(image_info);
+ *write_info->magick='\0';
(void) SetImageInfo(write_info,1,exception);
if (LocaleCompare(write_info->magick,"THUMBNAIL") == 0)
(void) FormatLocaleString(thumbnail_image->filename,MagickPathExtent,
(void) CopyMagickString(montage_image->filename,image_info->filename,
MagickPathExtent);
write_info=CloneImageInfo(image_info);
+ *write_info->magick='\0';
(void) SetImageInfo(write_info,1,exception);
if (LocaleCompare(write_info->magick,"VID") == 0)
(void) FormatLocaleString(montage_image->filename,MagickPathExtent,