Bugzilla – Bug 137971
ImageMagick / convert: sequence of operators
Last modified: 2006-01-31 08:14:28 UTC
On SL 9.1 I used "-crop 100x50+0+0 -rotate 90" to crop something and then rotate the cropped piece. But on 10.0 convert always rotates first and then crops. If this is how it should work with IM 6.x we must mention it in the release notes. Try these commands: 1. Create an image with the text "123456789": convert -pointsize 30 label:"123123123" test.pgm 2. Crop the left part of the image ("123"): convert -crop 60x30+0+0 test.pgm 123.png 3. Try to crop and rotate by 90 degree: convert -crop 60x30+0+0 -rotate 90 test.pgm xxx.png (You will only see "1" plus half of "2" rotated; obiously, convert rotates first...). Same result with: convert -crop 60x30+0+0 test.pgm -rotate 90 yyy.png
It seems to be intended. Here is some documentation: http://imagemagick.org/script/command-line-processing.php http://studio.imagemagick.org/discussion-server/viewtopic.php?t=3816 The syntax that works: convert \( -crop 60x30+0+0 test.pgm \) -rotate 90 yyy.png There are probably other similar cases of changed interfaces.
Thanks for getting back on this issue. If not already done we should add this syntax change to the sles10 release notes.
Imagemagick is not on SLES10.
Nothing to do then. On box we have ImageMagick 6 since 9.2.