% July 1992 %
% %
% %
-% Copyright 1999-2009 ImageMagick Studio LLC, a non-profit organization %
+% Copyright 1999-2010 ImageMagick Studio LLC, a non-profit organization %
% dedicated to making software imaging solutions freely available. %
% %
% You may not use this file except in compliance with the License. You may %
if (status == MagickFalse)
return((Image *) NULL);
read_info=CloneImageInfo(image_info);
- (void) CopyMagickString(read_info->magick,"PS",MaxTextExtent);
+ (void) CopyMagickString(read_info->magick,"SVG",MaxTextExtent);
(void) AcquireUniqueFilename(read_info->filename);
- (void) FormatMagickString(command,MaxTextExtent,"-Tps2 -o%s %s",
+ (void) FormatMagickString(command,MaxTextExtent,"-Tsvg -o%s %s",
read_info->filename,image_info->filename);
graph=agread(GetBlobFileHandle(image));
if (graph == (graph_t *) NULL)
gvLayout(graphic_context,graph,(char *) "dot");
else
gvLayout(graphic_context,graph,(char *) option);
- gvRenderFilename(graphic_context,graph,(char *) "ps2",read_info->filename);
+ gvRenderFilename(graphic_context,graph,(char *) "svg",read_info->filename);
gvFreeLayout(graphic_context,graph);
/*
- Read Postscript graph.
+ Read SVG graph.
*/
image=ReadImage(read_info,exception);
(void) RelinquishUniqueFileResource(read_info->filename);
%
% The format of the RegisterDOTImage method is:
%
-% unsigned long RegisterDOTImage(void)
+% size_t RegisterDOTImage(void)
%
*/
-ModuleExport unsigned long RegisterDOTImage(void)
+ModuleExport size_t RegisterDOTImage(void)
{
MagickInfo
*entry;