TransparentLC / realesrgan-gui

实用、美观的 Real-ESRGAN 图形界面,同时支持 Windows、Ubuntu 和 macOS 平台。现在也支持 Real-CUGAN 了!(Cross-platform GUI for image upscaler Real-ESRGAN with additional features. Now with Real-CUGAN support!)
http://akarin.dev/realesrgan-gui/
GNU Affero General Public License v3.0
821 stars 46 forks source link

[FEATURE_REQUEST] "scale to longest" and "scale to shortest" #81

Closed the-liquid-metal closed 6 months ago

the-liquid-metal commented 6 months ago

It is common for photosets to have both landscape and protrait orientation. At the moment, realesrgan-gui, just has "scale to width" and "scale to height" options. It is impractical to upscale these photosets with realesrgan-gui. First we have to group each files into orientation, upscale, and last regroup again. It would be better if there are "scale to longest" and "scale to shortest" options available.

for example:

These new options will preserve size consistency among photoset items.

It's better to have a single selection control with items: "width", "height", "longest", "shortest", and a single numeric control, rather than 4 radio controls and 4 numeric controls.

the-liquid-metal commented 6 months ago

Tested. It works great. Thank you.