retropassdev / RetroPass

Retro Pass is a simple frontend for emulators running on Xbox.
GNU General Public License v2.0
105 stars 42 forks source link

[Feature Request] Adaptive Layout #39

Closed retropassdev closed 10 months ago

retropassdev commented 10 months ago

Various platforms can have different cover art aspect ratio. Generally, it is fine if the height is larger than width, for example Playstation 2 box art, but it's not so good when width is similar or larger than height like for example with Super Nintendo:

There are various approaches how to handle this. For example, just zooming in the image to fill in static box art dimensions is also not that good, because a lot of original covert art is cropped.

After some experimenting, Retropass will provide an optional adaptive layout:

Additionally, add an option to settings for image stretch modes, so users can change how box art space is filled. There are 3 important modes: Uniform, Fill, UniformToFill https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.media.stretch?view=winrt-22621

For a proof of concept check here: https://www.reddit.com/r/RetroPass/comments/16cdb4l/retropass_adaptive_layout_experiment/