Find the best fit wallpaper for a device given its screenWidth and screenHeight
Criteria for best fit:
-
Best fit wallpaper would be if wallpaper dimensions exactly matches screenDimensions
-
If dimensions don't match look for the nearest aspect ratio with least difference in dimensions.
-
It is better if wallpaper dimensions are equal to or greater than screen dimensions so that it doesn't get pixelated in scaling.