>example:
>landscape image: 3000x2000 pixels
>-resize 1800x ...
>
>portrait image: 2000x3000 pixels
>-resize x1800 ...
>
>In this example I want that the _longer_ side of the image will be 1800.
>
>So the question is, if the decision can be automatically made with IM, if
>1800x oder x1800 must be used or if I have to code a condition with identify
>in a bash-script, which makes the decision.

sorry, probably should be

convert image -resize 1800x1800 resultimage

will always make the larger side 1800 and the other (smaller side) 
stay in proportion

Fred
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to