possible bug -roll IM 6.8.7.2 Q16 Mac OSX

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

possible bug -roll IM 6.8.7.2 Q16 Mac OSX

Post by fmw42 »

It would appear that -roll is not working when the +x coordinate is +0.

This does not work
convert -size 200x100 xc:black xc:white -append -roll +0+50 show:

This works fine
convert -size 200x100 xc:black xc:white -append -roll +1+50 show:

It has been this way at least as far back as IM 6.8.6.9 (which is as far back as I can test these days) and also broke in the current IM 6.8.7.3 beta.


Note also the documentation seems to have the direction of roll backwards. Positive (not negative) values should be left to right or top to bottom. I can change this documentation if desired.


-roll {+-}x{+-}y

roll an image vertically or horizontally by the amount given.
A negative x offset rolls the image left-to-right. A negative y offset rolls the image top-to-bottom.
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: possible bug -roll IM 6.8.7.2 Q16 Mac OSX

Post by magick »

We can reproduce the problem you posted and have a patch in ImageMagick 6.8.7-3 Beta available by sometime tomorrow. Thanks.
Post Reply