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:
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
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
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
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)
possible bug -distort perspective IM 6.6.0-4
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
possible bug -distort perspective IM 6.6.0-4
Last edited by fmw42 on 2010-03-31T10:09:31-07:00, edited 1 time in total.
Re: possible bug -distort perspective IM 6.6.0-4
We can reproduce the problem and have a patch in ImageMagick 6.6.0-5 available by sometime tomorrow. Thanks.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: possible bug -distort perspective IM 6.6.0-4
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
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
You can grab ImageMagick 6.6.0-5 Beta now from ftp://magick.imagemagick.org/pub/ImageMagick/beta.
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: possible bug -distort perspective IM 6.6.0-4
-distort perspective and 3Drotate now give correct results (same as my original results)magick wrote:You can grab ImageMagick 6.6.0-5 Beta now from ftp://magick.imagemagick.org/pub/ImageMagick/beta.
Thanks.
Fred