]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Mon, 13 Aug 2012 20:25:37 +0000 (20:25 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Mon, 13 Aug 2012 20:25:37 +0000 (20:25 +0000)
coders/jnx.c

index d29fd0eac5872fa5ece836318a49dba2b012d790..2014e9ee46c84ce162666b8d8f4861a09091ead8 100644 (file)
@@ -292,10 +292,10 @@ static Image *ReadJNXImage(const ImageInfo *image_info,ExceptionInfo *exception)
       if (*jnx_level_info[i].copyright != '\0')
         (void) SetImageProperty(tile_image,"jnx:copyright",
           jnx_level_info[i].copyright,exception);
-      (void) FormatImageProperty(tile_image,"jnx:northeast","%g,%g",northeast.x,
-        northeast.y);
-      (void) FormatImageProperty(tile_image,"jnx:southwest","%g,%g",southwest.x,
-        southwest.y);
+      (void) FormatImageProperty(tile_image,"jnx:northeast","%.20g,%.20g",
+        northeast.x,northeast.y);
+      (void) FormatImageProperty(tile_image,"jnx:southwest","%.20g,%.20g",
+        southwest.x,southwest.y);
       AppendImageToList(&images,tile_image);
     }
     if (image->progress_monitor != (MagickProgressMonitor) NULL)