Re: "Intelligent" resize
Fred Weinhaus <[email protected]>
| Newsgroups | gmane.comp.video.image-magick.user |
|---|---|
| Message-ID | <p06240803c72c9ae2f21c@[192.168.1.2]> |
>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