You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Backgrounds and box art both currently follow a stretch to aspect ratio rather than maintain aspect ratio + crop, similar to CSS's object-fit as cover property. This requires a lot of manual labour to make games that are not found on RAWG look good in library.
Describe the solution you'd like
By default, images do not stretch but instead always match desired image based on aspect ratio.
Aspect ratios that are too tall will be cropped at the top and bottom, and centred.
Aspect ratios that are too wide will be cropped at the left and right, and centred.
Images that are too small will also be resized until one of the dimensions matches the required.
Describe alternatives you've considered
Aside from using an alternative frontend, the alternative is to manually resize the images.
Additional context
I am willing to try to implement this myself, but I don't have a lot of free time, and I'm not really a .NET developer.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
Backgrounds and box art both currently follow a stretch to aspect ratio rather than maintain aspect ratio + crop, similar to CSS's
object-fit
ascover
property. This requires a lot of manual labour to make games that are not found on RAWG look good in library.Describe the solution you'd like
By default, images do not stretch but instead always match desired image based on aspect ratio.
Describe alternatives you've considered
Aside from using an alternative frontend, the alternative is to manually resize the images.
Additional context
I am willing to try to implement this myself, but I don't have a lot of free time, and I'm not really a .NET developer.
The text was updated successfully, but these errors were encountered: