Page 1 of 1
Conditions in MSL?
Posted: 2010-07-13T16:04:04-07:00
by noonesshadow
What I'm trying to do is overlap two images, resizing the larger one to the smaller one. Since I don't know which one will be larger and which smaller, I can't predefine the resize option. Is there any way in MSL to compare two numbers and perform different actions based on this condition?
Re: Conditions in MSL?
Posted: 2010-10-07T18:32:36-07:00
by anthony
Sorry for the lateness of my reply - I don't normally watch this forum.
You could resize both with a '>' flag
This only resizes larger images, so one of the resizes will just not do anything.
The same flags are in MSL as they are in Command-line. See...
http://www.imagemagick.org/Usage/resize/#shrink