Batch resize images: Worst fit possible?

Ask for help and post your question on how to use XnView Classic.

Moderators: helmut, XnTriq, xnview

Post Reply
Wurstwasser
Posts: 4
Joined: Sun Feb 24, 2008 3:22 pm

Batch resize images: Worst fit possible?

Post by Wurstwasser »

Hi,

I want to convert a bunch of pictures, "worst fit". That means:

I want to have a maximum of 1280 width or 1024 height, but none of the values should be scaled down. So both are minimum parameters.

That means: If a picture is 5000x1024, nothing should happen.
If a picture is 1200x10000, it should be scaled up to 1280xy (y is a bit more than 10000 then)-

I hope you see what I mean. Is that possible?
Wurstwasser
Posts: 4
Joined: Sun Feb 24, 2008 3:22 pm

Post by Wurstwasser »

To clarify, because it's somewhat complicated.

Target is: 1280x1024, but width not <1280 AND height not <1024.

I have 2094x2950 px pictures.

Their width is bigger than their height, so I want to have them at 1280 width.

I use the batch converter. I set width to 1280 and height to 1024. The "follow orientation" flag is off.

- If I choose "fit over", I get 726x1024
- If I uncheck "fit over" I also get 726x1024

But the result I wish should be 1280x1443.
Wurstwasser
Posts: 4
Joined: Sun Feb 24, 2008 3:22 pm

Post by Wurstwasser »

I searched this forum, apparently I want "fit over". Is it broken?
Fit over to me means, if I tell xnview I want 1280x1024 I expect it to at least fill this area, PLUS eventually more at one direction.
User avatar
xnview
Author of XnView
Posts: 46257
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Post by xnview »

Wurstwasser wrote: - If I choose "fit over", I get 726x1024
- If I uncheck "fit over" I also get 726x1024

But the result I wish should be 1280x1443.
1280x1803 i think!
Yes currently if you have 'fit over' and wanted dimension that not follow orientation of picture, there is a problem!!
Pierre.
Wurstwasser
Posts: 4
Joined: Sun Feb 24, 2008 3:22 pm

Post by Wurstwasser »

BTW, if you make changes in resize dialogs, add two simple images, because this tells more than thousand words. Generally people may want something like "fit into (which may leave a border)" and "fit only one side and eventually leave a border on the other"...
Yes, I never need the orientation metadata info, because in some pictures it's there, in others isn't... Just adds confusion for me :)
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Post by XnTriq »

Wurstwasser wrote:BTW, if you make changes in resize dialogs, add two simple images, because this tells more than thousand words.
:arrow: 1.91 English Translation / List of new strings
Post Reply