if (strlen(format) > 1)
format[strlen(format)-1]='\0';
(void) FormatLocaleFile(file," Number pixels: %s\n",format);
- (void) FormatMagickSize((MagickSizeType) ((double) image->columns*image->rows/
- elapsed_time+0.5),MagickFalse,"B",MagickPathExtent,format);
- (void) FormatLocaleFile(file," Pixels per second: %s\n",format);
+ if (elapsed_time > MagickEpsilon)
+ {
+ (void) FormatMagickSize((MagickSizeType) ((double) image->columns*
+ image->rows/elapsed_time+0.5),MagickFalse,"B",MagickPathExtent,format);
+ (void) FormatLocaleFile(file," Pixels per second: %s\n",format);
+ }
(void) FormatLocaleFile(file," User time: %0.3fu\n",user_time);
(void) FormatLocaleFile(file," Elapsed time: %lu:%02lu.%03lu\n",
(unsigned long) (elapsed_time/60.0),(unsigned long) ceil(fmod(elapsed_time,
])dnl AX_COMPILER_FLAGS
# longlong.m4 serial 17
-dnl Copyright (C) 1999-2007, 2009-2015 Free Software Foundation, Inc.
+dnl Copyright (C) 1999-2007, 2009-2016 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
MAGICK_VERSION=7.0.3-2
-MAGICK_GIT_REVISION=18852:3448b33:20160920
+MAGICK_GIT_REVISION=18853:ca0dd94:20160923
# Substitute library versioning