Hello!
Is it possible to execute multiple operations in one command?
I need a square thumbnail of an image, so I want to resize first, and then crop the image.
But I'd like to do that in one take
The issue is that when I resize the image, I need to know the resized size before I can give the crop command the correct values...
Thanks.
Multiple operations in one command?
Moderators: XnTriq, helmut, xnview
Re: Multiple operations in one command?
Yes, multiple operations are possible: Put all your operations on the same command line.
Pierre.
Re: Multiple operations in one command?
Thanks for the answer
Yes but in the case of the square thumbnail I want, I can't do that in one command right?
Because I first need to resize, then crop but the crop method takes xywh and I don't know the new width/height after a resize (if I use ratio resize 0 500).
But maybe the other way around? First crop then resize? Same problem, because I can't crop without first giving width/height that I don't have without calling -info on my image.
Yes but in the case of the square thumbnail I want, I can't do that in one command right?
Because I first need to resize, then crop but the crop method takes xywh and I don't know the new width/height after a resize (if I use ratio resize 0 500).
But maybe the other way around? First crop then resize? Same problem, because I can't crop without first giving width/height that I don't have without calling -info on my image.
Re: Multiple operations in one command?
oh ok, yes in your case it's difficult to use only one command
Pierre.