scale.y=(double) former_height*PerceptibleReciprocal(distance/sqrt(area));
if ((scale.x < (double) *width) || (scale.y < (double) *height))
{
- *width=(unsigned long) (former_width/(distance/sqrt(area)));
- *height=(unsigned long) (former_height/(distance/sqrt(area)));
+ *width=(unsigned long) (former_width*PerceptibleReciprocal(
+ distance/sqrt(area)));
+ *height=(unsigned long) (former_height*PerceptibleReciprocal(
+ distance/sqrt(area)));
}
former_width=(*width);
former_height=(*height);
MAGICK_VERSION=7.0.7-23
-MAGICK_GIT_REVISION=22562:23246df8d:20180130
+MAGICK_GIT_REVISION=22573:84ae5bdb7:20180130
# Substitute library versioning