spurious -crop results (bug or feature?)
Posted: 2008-03-14T03:53:00-07:00
Hi,
I get different results using the following two convert-commands:
and
The first command shows four "tiles" (i.e. the cropped images plus the strips which should have been cropped off), the second command shows the expected result (two tiles of the cropped images).
N.B.: adding +repage does not make a difference. Splitting the first command into three commands (cropping, cropping, appending) gives the same result as the second command.
Can anybody explain if this is a bug or a subtle feature of -crop?
I'm using IM version 6.3.5 Q16 running on openSUSE 10.3.
Thanks, Bernhard
I get different results using the following two convert-commands:
Code: Select all
convert img1.jpg -resize x1535 -crop 1062x1535 -border 5 \( \
img2.jpg -resize x1535 -crop 1062x1535 -border 5 \) \
+append test.img
Code: Select all
convert img1.jpg -resize x1535 -crop 1062x1535+0+0 -border 5 \( \
img2.jpg -resize x1535 -crop 1062x1535+0+0 -border 5 \) \
+append test.img
N.B.: adding +repage does not make a difference. Splitting the first command into three commands (cropping, cropping, appending) gives the same result as the second command.
Can anybody explain if this is a bug or a subtle feature of -crop?
I'm using IM version 6.3.5 Q16 running on openSUSE 10.3.
Thanks, Bernhard