Bug 137971 - ImageMagick / convert: sequence of operators
Summary: ImageMagick / convert: sequence of operators
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Other (show other bugs)
Version: Final
Hardware: Other All
: P5 - None : Normal
Target Milestone: ---
Assignee: Vladimir Nadvornik
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-10 18:42 UTC by Karl Eichwalder
Modified: 2006-01-31 08:14 UTC (History)
0 users

See Also:
Found By: Documentation
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Eichwalder 2005-12-10 18:42:01 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
Comment 1 Vladimir Nadvornik 2006-01-26 17:30:33 UTC
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.
Comment 2 Karl Eichwalder 2006-01-26 17:41:19 UTC
Thanks for getting back on this issue.  If not already done we should add this syntax change to the sles10 release notes.
Comment 3 Thorsten Kukuk 2006-01-27 08:11:23 UTC
Imagemagick is not on SLES10.
Comment 4 Vladimir Nadvornik 2006-01-31 08:14:28 UTC
Nothing to do then. On box we have ImageMagick 6 since 9.2.