]> granicus.if.org Git - imagemagick/commitdiff
https://github.com/ImageMagick/ImageMagick/issues/1243
authorCristy <urban-warrior@imagemagick.org>
Thu, 9 Aug 2018 00:33:24 +0000 (20:33 -0400)
committerCristy <urban-warrior@imagemagick.org>
Thu, 9 Aug 2018 00:33:24 +0000 (20:33 -0400)
MagickCore/resize.c

index a9d0ddbc69de257b545768e85b7ec10827c31556..61c0665d2e9189f2d0842e369ab0244997ad17c6 100644 (file)
@@ -3671,7 +3671,6 @@ MagickExport Image *ThumbnailImage(const Image *image,const size_t columns,
 
   char
     filename[MagickPathExtent],
-    *url,
     value[MagickPathExtent];
 
   const char
@@ -3755,9 +3754,8 @@ MagickExport Image *ThumbnailImage(const Image *image,const size_t columns,
   (void) FormatLocaleString(value,MagickPathExtent,"image/%s",image->magick);
   LocaleLower(value);
   (void) SetImageProperty(thumbnail_image,"Thumb::Mimetype",value,exception);
-  url=GetMagickHomeURL();
-  (void) SetImageProperty(thumbnail_image,"software",url,exception);
-  url=DestroyString(url);
+  (void) SetImageProperty(thumbnail_image,"software",MagickAuthoritativeURL,
+    exception);
   (void) FormatLocaleString(value,MagickPathExtent,"%.20g",(double)
     image->magick_columns);
   (void) SetImageProperty(thumbnail_image,"Thumb::Image::Width",value,