Enhance resize in Batch Convert
Moderators: helmut, XnTriq, xnview
Enhance resize in Batch Convert
Is it possible to add a drop down list for selecting type of fit (when option "keep ratio" is on)?
There is four types of fit that saves ratio:
1. Fit width
2. Fit height
3. Fit width and height ( = fit in)
4. Fit width or height ( = fit over)
Currently, as I see, it is not possible to do fit number 4 in xnView.
This is very usefull when you have a large number of images with different sizes and proportions, that must be set all to one specified size, but with as little cropping as possible. First, one can do "resize - fit over", and than "resize canvas - top center", for instance. I don't see any other way to do this.
Regards,
Ognjen
There is four types of fit that saves ratio:
1. Fit width
2. Fit height
3. Fit width and height ( = fit in)
4. Fit width or height ( = fit over)
Currently, as I see, it is not possible to do fit number 4 in xnView.
This is very usefull when you have a large number of images with different sizes and proportions, that must be set all to one specified size, but with as little cropping as possible. First, one can do "resize - fit over", and than "resize canvas - top center", for instance. I don't see any other way to do this.
Regards,
Ognjen
Re: Enhance resize in Batch Convert
What is 'Fit W or H'?Anonymous wrote:Is it possible to add a drop down list for selecting type of fit (when option "keep ratio" is on)?
There is four types of fit that saves ratio:
1. Fit width
2. Fit height
3. Fit width and height ( = fit in)
4. Fit width or height ( = fit over)
Currently, as I see, it is not possible to do fit number 4 in xnView.
This is very usefull when you have a large number of images with different sizes and proportions, that must be set all to one specified size, but with as little cropping as possible. First, one can do "resize - fit over", and than "resize canvas - top center", for instance. I don't see any other way to do this.
Pierre.
Ok, examples for everything:
If we want to fit two images sized 200x400 and 400x200 to 100x100 (WxH), keeping the aspect ratio:
1. W: 200x400 -> 100x200;
400x200 -> 100x50
2. H: 200x400 -> 50x100
400x200 -> 200x100
3. W and H: 200x400 -> 50x100
400x200 -> 100x50
4. W or H: 200x400 -> 100x200
400x200 -> 200x100
In other words, "W and H" resize will always produce an image that is smaller or equal to the requested size (or, to be more precise: one dimension will be equal, and other will be smaller) -- that's why it is called "Fit in".
"W or H" will produce an image that is BIGGER or equal to the requested size (one dimnsion is equal, while other is bigger). Thats why it is called "Fit over".
Regards,
Ognjen
If we want to fit two images sized 200x400 and 400x200 to 100x100 (WxH), keeping the aspect ratio:
1. W: 200x400 -> 100x200;
400x200 -> 100x50
2. H: 200x400 -> 50x100
400x200 -> 200x100
3. W and H: 200x400 -> 50x100
400x200 -> 100x50
4. W or H: 200x400 -> 100x200
400x200 -> 200x100
In other words, "W and H" resize will always produce an image that is smaller or equal to the requested size (or, to be more precise: one dimension will be equal, and other will be smaller) -- that's why it is called "Fit in".
"W or H" will produce an image that is BIGGER or equal to the requested size (one dimnsion is equal, while other is bigger). Thats why it is called "Fit over".
Regards,
Ognjen
I support.Anonymous wrote:"W or H" will produce an image that is BIGGER or equal to the requested size (one dimnsion is equal, while other is bigger). Thats why it is called "Fit over".
What interface change would be best? (I was thinking of a simple 'Fit over' checkbox that would be ungreyed as soon as both X and Y values are entered...)
Olivier
Ok, so Fit option replace 'increase only', 'decrease only', and 'switch orientation'?Anonymous wrote:Ok, examples for everything:
If we want to fit two images sized 200x400 and 400x200 to 100x100 (WxH), keeping the aspect ratio:
1. W: 200x400 -> 100x200;
400x200 -> 100x50
2. H: 200x400 -> 50x100
400x200 -> 200x100
3. W and H: 200x400 -> 50x100
400x200 -> 100x50
4. W or H: 200x400 -> 100x200
400x200 -> 200x100
In other words, "W and H" resize will always produce an image that is smaller or equal to the requested size (or, to be more precise: one dimension will be equal, and other will be smaller) -- that's why it is called "Fit in".
"W or H" will produce an image that is BIGGER or equal to the requested size (one dimnsion is equal, while other is bigger). Thats why it is called "Fit over".
Pierre.
None. It's a new different option.xnview wrote:Ok, so Fit option replace 'increase only', 'decrease only', and 'switch orientation'?
If space is an issue, maybe it would be better to put Increase/Decrease on the same line:
Code: Select all
Only []Decrease []Increase
Olivier
Ok, so only a new checkbox 'Fit over'??Olivier_G wrote:None. It's a new different option.xnview wrote:Ok, so Fit option replace 'increase only', 'decrease only', and 'switch orientation'?
If space is an issue, maybe it would be better to put Increase/Decrease on the same line:Code: Select all
Only []Decrease []Increase
Pierre.
I looked at the whole window. Pierre, what do you think of this?
- Shorter name for Orientation
- Fit in/over make sense only with Keep ratio and showing both is more explicit (alternative: only "□ Fit over (W OR H)")
- Show Increase/Decrease actions instead of their exclusive version (ie: only). Both are fine to me, though...
- Resample at the end (once the difficult logical choices have been made...
)
Edit: I put another solution wich looks almost as fine to me and has fewer modifications:
Code: Select all
□ Follow orientation (switch W/H)
□ Keep ratio
o Fit in o Fit over
□ Decrease □ Increase
Resample [ |v]
- Fit in/over make sense only with Keep ratio and showing both is more explicit (alternative: only "□ Fit over (W OR H)")
- Show Increase/Decrease actions instead of their exclusive version (ie: only). Both are fine to me, though...

- Resample at the end (once the difficult logical choices have been made...

Edit: I put another solution wich looks almost as fine to me and has fewer modifications:
Code: Select all
□ Keep ratio
□ Fit over (W OR H)
□ Follow orientation (switch W/H)
Only □ Decrease □ Increase
Resample [ |v]
Olivier
So only a new checkboxOlivier_G wrote:Edit: I put another solution wich looks almost as fine to me and has fewer modifications:Code: Select all
□ Keep ratio □ Fit over (W OR H) □ Follow orientation (switch W/H) Only □ Decrease □ Increase Resample [ |v]

Pierre.
Re: Enhance resize in Batch Convert
I support this request too, more suggestions (hotkeys):
- Fit width - Numpad 1
- Fit height - Numpad 3
- Fit width and height ( = fit in) - Numpad 7
- Fit width or height ( = fit over) - Numpad 9
More here ("beta topic").
- Fit width - Numpad 1
- Fit height - Numpad 3
- Fit width and height ( = fit in) - Numpad 7
- Fit width or height ( = fit over) - Numpad 9
More here ("beta topic").
Dreamer