MATLAB Answers

0

Size of Splash Screen too big - Deploytool

Asked by Yannick Petrick on 9 Mar 2019
Latest activity Commented on by Munish Raj on 25 Mar 2019
Hello together,
currently I am working on a standalone application which reads an excel-file, processes the data and creates a figure which is saved in a PowerPoint-Presentation.
I am using the Application Compiler of the deploytool to get this done. (MatLab R2018b, 9.5)
There you can choose your custom Splash Screen, which is recommended with 400 x 400 pixels. I created my Splash Screen in Adobe Ilustrator with this size and saved it as a .png.
Most of the people that will use the tool work with a notebook that is connected to a second screen. When someone starts the application the Splash Screens shows much too big for the screen (only about of the height are visible). The following GUI is displayed like it should. This is just a minor problem but the application simply looks unprofessional like this in my opinion.
Is there any way to specify the size of the Splash Screen so it is shown completely on the screen?
Thanks for your help!

  0 Comments

Sign in to comment.

1 Answer

Answer by Munish Raj on 19 Mar 2019
 Accepted Answer

Hello Yannick,
Ideally, the application compiler will use the same number of pixels that are present in the splash screen that you specify in the GUI while building the application.
However if this does not work for you, as a work around for this problem you could do the following
1) Navigate to the folder where the exe is present.
2)Replace the 'splash.png' with the required file that you want to use
3)rename the file as splash.png
If this does not work,
Try a smaller picture, lets say a 200x200 png file.

  2 Comments

Apparently i had a problem with the resolution of the picture. But the replacing as desribed worked perfect. Thanks!
You're welcome Please accept the answer if it worked for you.

Sign in to comment.