[Magick-bugs] Re: [magick-users] A grid appears when resizing. It
wasn't invited. (Bug?)
Seth Price
seth at pricepages.org
Sat Oct 13 08:11:09 PDT 2007
I didn't find two instances of that code. However, I found two
instances of this:
start=(long) (MagickMax(center-support,0.0)+0.5);
at lines 843 and 1037. Is this what you mean?
However, I just noticed that the latest ImageMagick.tar.gz release
seems to be 6.3.6-1 (Oct 5th, as shown on the IM ftp site), so maybe
that is the problem? Where can I get the release from Oct 12th?
~Seth
On Oct 13, 2007, at 7:24 AM, arcanaimperii at imagemagick.org wrote:
>> I have seen the grid produced with IM 6.3.6-2 on two PowerPC Macs
>
> The problem is related to how floating point is handled on different
> architectures. In magick/resize.c change (at 2 locations):
>
> start=(long) (MagickMax(center-support-MagickEpsilon,0.0)+0.5);
>
> to
>
> start=(long) (MagickMax(center-support-0.00001,0.0)+0.5);
>
> Report back if that removes the grid.
More information about the Magick-bugs
mailing list