MATLAB Answers

Matlab compiler - splash screen quality

25 views (last 30 days)
Jonas Schmidt
Jonas Schmidt on 22 Dec 2020
Commented: Jonas Schmidt on 30 Jan 2021
I generated an app using the Matlab compiler and I am using a custom splash screen. I created it in inkscape and, as the compiler can use only .PNG-files, exported it in that format.
The problem is, when I open the compiled app the splash screen has a very poor quality. All lines, as well as the titel in the logo, are very indistinct and blurry. The installed splash.png looks alright though.
Is there any way to prevent Matlab from messing with the image quality?


Sign in to comment.

Answers (1)

Gaurav Garg
Gaurav Garg on 28 Dec 2020
Hi Jonas,
The first thing you can try is to change the splash screen itself. You can find the code here.
Then, you should try either zooming into the image - link or resizing the image - link.

  1 Comment

Jonas Schmidt
Jonas Schmidt on 30 Jan 2021
Hey Gaurav,
sorry for the long inactivity. I haven't gotten back to the project recently, that's why the late answer.
At first, thank you, but unfortunately your tips didn't help. When using the alternate SplashScreen-class, it does not replace the splash screen that is produced by the Matlab compiler, so that I just get two splash screens that pop up after another. And it looks like it is not possible to just have no Matlab-Compliler-splash screen when using the graphic interface of the matlab compiler.
Resizing and zooming the image ddin't help as well, but I realized that the splash screen of the Matlab compiler looks totally fine, when it's started on my desktop PC. The issue with the bad resolution just occurs when I open the app on a laptop (neither mine or the one of my supervisor works). All machines that I've tested it on have a FullHD display and are running on Win10. Do you have any idea why that error occurs?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!