commit | fa3b14309f45f4a9c119de679fe359df39751a4b | [log] [tgz] |
---|---|---|
author | Cristy <[email protected]> | Thu Apr 13 21:08:52 2017 -0400 |
committer | Cristy <[email protected]> | Thu Apr 13 21:08:52 2017 -0400 |
tree | a18815dda54ea16c5b9d8369902a3c6cd59b4dd7 | |
parent | 6a2e1f9c04105aa90d9bf243029cbd1dd317413b [diff] [blame] |
...
diff --git a/coders/svg.c b/coders/svg.c index 193e53e..cba141a 100644 --- a/coders/svg.c +++ b/coders/svg.c
@@ -2834,7 +2834,8 @@ image=DestroyImageList(image); return((Image *) NULL); } - if ((image->resolution.x == 0.0) || (image->resolution.y == 0.0)) + if ((fabs(image->resolution.x) < MagickEpsilon) || + (fabs(image->resolution.y) < MagickEpsilon)) { GeometryInfo geometry_info;