Matlab compiler - splash screen quality

6 次查看(过去 30 天)
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?

回答(1 个)

Gaurav Garg
Gaurav Garg 2020-12-28
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 个评论
Jonas Schmidt
Jonas Schmidt 2021-1-30
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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by