crop doesn't work
Posted: 2014-04-15T19:06:10-07:00
Hi there,
I am trying to resize and rotate a part of an image and then crop it to a smaller size.
This command worked perfectly fine with ImageMagick 6.2.8:
convert $1 -crop 1280x800+0+0 -region 1280x800+0+8 -resize 960x600 -crop 960x600+0+0 -region 960x600+0+8 -rotate 2.5 -resize 118% -roll -26-92 $1
The result was a jpg with 960x600px
On a second machine with ImageMagick 6.5.4-7 the result is an image with 1280x800px. I also tried +repage after crop - without success.
What's the missing piece? Any help is appreciated.
Ralf
I am trying to resize and rotate a part of an image and then crop it to a smaller size.
This command worked perfectly fine with ImageMagick 6.2.8:
convert $1 -crop 1280x800+0+0 -region 1280x800+0+8 -resize 960x600 -crop 960x600+0+0 -region 960x600+0+8 -rotate 2.5 -resize 118% -roll -26-92 $1
The result was a jpg with 960x600px
On a second machine with ImageMagick 6.5.4-7 the result is an image with 1280x800px. I also tried +repage after crop - without success.
What's the missing piece? Any help is appreciated.
Ralf