7

I'm trying to add an image on Splash Screen and the image size is 512x512 but it is not showing correctly on the splash screen. So, is there a way to resize the splash screen image?

  • 1
    Its in the backlog. https://github.com/dotnet/maui/issues/4341. – H.A.H. Sep 26 '22 at 14:37
  • 2
    The maui splash screen in its current state is completely broken. Your best bet is to not use the BaseSize property at all and just fiddle with your image to add some space on each side to compensate for the corners being cut off, and add space on top/bottom as needed to make the image completely square to compensate for random stretching that sometimes happen to rectangles – nimitz Jan 12 '23 at 14:07

3 Answers3

2

Yes, there is a known issue about this problem. And this issue has been moved to the Backlog milestone. This means that it is not going to be worked on for the coming release.

You can follow it up here: https://github.com/dotnet/maui/issues/10275 .

Similar issue here: https://github.com/dotnet/maui/pull/9797 .

Thanks for your support and feedback for maui.

Jessie Zhang -MSFT
  • 9,830
  • 1
  • 7
  • 19
0

I experimented with this, and you can use base size to stretch the image in one direction or another, but you can't make it any bigger Even when I set the base size to something really large like 1,024, 1024.

-1

You can refer to step 5 of my blog on how to add/change the Splash screen image.

Basically, you have to edit your project file & edit the MauiSplashScreen ItemGroup property BaseSize accordingly to fit your image.

Dinesh Falwadiya
  • 769
  • 5
  • 20