]> granicus.if.org Git - imagemagick/commitdiff
...
authorCristy <urban-warrior@imagemagick.org>
Wed, 19 Apr 2017 00:51:00 +0000 (20:51 -0400)
committerCristy <urban-warrior@imagemagick.org>
Wed, 19 Apr 2017 00:51:00 +0000 (20:51 -0400)
coders/mvg.c

index 499e03573475777802c214123438f7c4ade66ad1..6479e830d8fd5f7698e24c5131f77c26ceb31869 100644 (file)
@@ -184,9 +184,9 @@ static Image *ReadMVGImage(const ImageInfo *image_info,ExceptionInfo *exception)
     ThrowReaderException(OptionError,"MustSpecifyImageSize");
   draw_info=CloneDrawInfo(image_info,(DrawInfo *) NULL);
   draw_info->affine.sx=image->resolution.x == 0.0 ? 1.0 : image->resolution.x/
-    DefaultResolution;
+    96.0;
   draw_info->affine.sy=image->resolution.y == 0.0 ? 1.0 : image->resolution.y/
-    DefaultResolution;
+    96.0;
   image->columns=(size_t) (draw_info->affine.sx*image->columns);
   image->rows=(size_t) (draw_info->affine.sy*image->rows);
   status=SetImageExtent(image,image->columns,image->rows,exception);