Page 1 of 1

possible bug -distort perspective IM 6.6.0-4

Posted: 2010-03-11T17:34:22-07:00
by fmw42
IM 6.6.0-4 Q16 Mac OSX Tiger

I had a complaint today that my 3Drotate script was not functioning correctly and confirm that is true. It appears to be due to -distort perspective and likely with either -virtual-pixel or -mattecolor as the surroundings of the perspective warp are not black as expected.

Source Image:
Image

Here is my image for a tilt=45 degrees from the 3Drotate script as originally working properly.

3Drotate tilt=45 mandril.jpg mandril_t45_orig.jpg
Image


Here is the same thing with IM 6.6.0-4
Here is my image for a tilt=45 degrees from the 3Drotate script as originally working properly.

3Drotate tilt=45 mandril.jpg mandril_t45.jpg
Image


And here it is using the equivalent IM commands only:
convert mandril.jpg -virtual-pixel background -background black -mattecolor black -distort Perspective "0,0 13,28 127,0 113,28 127,127 149,124 0,127 -22,124" mandril_perspect_t45.jpg
Image

Could you look into this, please.

Thanks.

Fred

P.S. Seems to have occurred sometime after IM 6.5.1-0 (as someone tested it on that version and it still works correctly)

Re: possible bug -distort perspective IM 6.6.0-4

Posted: 2010-03-11T18:45:38-07:00
by magick
We can reproduce the problem and have a patch in ImageMagick 6.6.0-5 available by sometime tomorrow. Thanks.

Re: possible bug -distort perspective IM 6.6.0-4

Posted: 2010-03-11T19:18:12-07:00
by fmw42
Thanks.

I will try to test tomorrow all the recent various issues that I have raised and for which you feel you have patches, once I see the beta has been updated or if you let me know when they have all been updated in the beta.

-distort perspective
-fx jinc
-evaluate-sequence min
-roll segment fault

Fred

Re: possible bug -distort perspective IM 6.6.0-4

Posted: 2010-03-11T19:39:18-07:00
by magick
You can grab ImageMagick 6.6.0-5 Beta now from ftp://magick.imagemagick.org/pub/ImageMagick/beta.

Re: possible bug -distort perspective IM 6.6.0-4

Posted: 2010-03-11T20:09:57-07:00
by fmw42
magick wrote:You can grab ImageMagick 6.6.0-5 Beta now from ftp://magick.imagemagick.org/pub/ImageMagick/beta.
-distort perspective and 3Drotate now give correct results (same as my original results)

Thanks.

Fred