Am Freitag, 20. November 2009 19:06:56 schrieb Fred Weinhaus: > >Thanks, I know mogrify, but I don't want to use it. The original should be > >removed only after the result has been manually checked. > > > >If the new path cannot be created with IM I will code a loop. What about > > the portrait and landscape format conversion? > > mogrify can put the new images into another folder. see -path with mogrify > > > please clarify the landscape vs portrait issue. not sure I understand > what you need.
Hi Fred, 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. Al _______________________________________________ Magick-users mailing list [email protected] http://studio.imagemagick.org/mailman/listinfo/magick-users
