x_factor,
y_factor;
- size_t
- version;
-
struct stat
attributes;
(void) FormatLocaleString(value,MagickPathExtent,"image/%s",image->magick);
LocaleLower(value);
(void) SetImageProperty(thumbnail_image,"Thumb::Mimetype",value,exception);
- (void) SetImageProperty(thumbnail_image,"software",GetMagickVersion(&version),
+ (void) SetImageProperty(thumbnail_image,"software",GetMagickHomeURL(),
exception);
(void) FormatLocaleString(value,MagickPathExtent,"%.20g",(double)
image->magick_columns);
MagickExport void ListMagickVersion(FILE *file)
{
(void) FormatLocaleFile(file,"Version: %s\n",
- GetMagickVersion((size_t *) NULL));
+ GetMagickVersion((size_t *) NULL));;
(void) FormatLocaleFile(file,"Copyright: %s\n",GetMagickCopyright());
(void) FormatLocaleFile(file,"License: %s\n",GetMagickLicense());
#if defined(MAGICKCORE_WINDOWS_SUPPORT) && defined(_MSC_FULL_VER)
dpx.file.timestamp);
offset+=WriteBlob(image,sizeof(dpx.file.timestamp),(unsigned char *)
dpx.file.timestamp);
- (void) strncpy(dpx.file.creator,GetMagickVersion((size_t *) NULL),
- sizeof(dpx.file.creator)-1);
+ (void) strncpy(dpx.file.creator,GetMagickHomeURL(),sizeof(dpx.file.creator)-
+ 1);
value=GetDPXProperty(image,"dpx:file.creator",exception);
if (value != (const char *) NULL)
(void) strncpy(dpx.file.creator,value,sizeof(dpx.file.creator)-1);
offset+=80;
}
(void) FormatLocaleString(header,FITSBlocksize,"HISTORY %.72s",
- GetMagickVersion((size_t *) NULL));
+ GetMagickHomeURL());
(void) strncpy(fits_info+offset,header,strlen(header));
offset+=80;
(void) strncpy(header,"END",FITSBlocksize);
(unsigned long) (elapsed_time/60.0),(unsigned long) ceil(fmod(
elapsed_time,60.0)),(unsigned long) (1000.0*(elapsed_time-floor(
elapsed_time))));
- JsonFormatLocaleFile(file," \"version\": %s\n",
- GetMagickVersion((size_t *) NULL));
+ JsonFormatLocaleFile(file," \"version\": %s\n",GetMagickHomeURL());
(void) FormatLocaleFile(file," }\n}\n");
(void) fflush(file);
return(ferror(file) != 0 ? MagickFalse : MagickTrue);
(void) FormatMagickTime(time((time_t *) NULL),MagickPathExtent,timestamp);
i=FormatLocaleString(xmp_profile,MagickPathExtent,XMPProfile,
XMPProfileMagick,modify_date,create_date,timestamp,
- GetMagickVersion(&version),EscapeParenthesis(basename),
- GetMagickVersion(&version));
+ GetMagickHomeURL(),EscapeParenthesis(basename),
+ GetMagickHomeURL());
(void) FormatLocaleString(buffer,MagickPathExtent,"/Length %.20g\n",
(double) i);
(void) WriteBlobString(image,buffer);
(void) FormatLocaleString(buffer,MagickPathExtent,"/ModDate (%s)\n",date);
(void) WriteBlobString(image,buffer);
(void) FormatLocaleString(buffer,MagickPathExtent,"/Producer (%s)\n",
- EscapeParenthesis(GetMagickVersion((size_t *) NULL)));
+ EscapeParenthesis(GetMagickHomeURL()));
(void) WriteBlobString(image,buffer);
(void) WriteBlobString(image,">>\n");
(void) WriteBlobString(image,"endobj\n");
/* Make SVG output happy */
(void) PushDrawingWand(WmfDrawingWand);
- DrawSetViewbox(WmfDrawingWand, 0, 0, ddata->image->columns, ddata->image->rows );
+ DrawSetViewbox(WmfDrawingWand,0,0,ddata->image->columns,ddata->image->rows);
- (void) FormatLocaleString(comment,MagickPathExtent,"Created by ImageMagick %s",
- GetMagickVersion((size_t *) NULL));
+ (void) FormatLocaleString(comment,MagickPathExtent,
+ "Created by ImageMagick %s",GetMagickHomeURL());
DrawComment(WmfDrawingWand,comment);
/* Scale width and height to image */