Splash screen with image of transparent background

Hi,
I am using compiler to build up a standalone application. I download an image with a trnasparent background form web. I use this image as my splash screen, however, insteading showing the image with transparent background, it shows with black background. Is there a correct way to show transparent background imagein splash window?
Thanks,
Chao

댓글 수: 7

It is a common issue, look here for the reason and resolve it.
Hi Kalyan:
Thanks for your response. However, the answer is still not clear to me. Would you mind listing eact steps on how to achieve this? I spend time searching the solutions online but no positive results. I think the answer will benefit others too.
Thanks,
With some futher study, I notice that the image I use for the splash screen, is actually transparent. The problem seems the splash window when building the standalone app using Matlab compiler gives a black background. If this is corret, is there any way to set the splash screen window transparent? Thanks
Same here. I have a png with a transparent background, the "background" is shown black and not transparent on loading the deployed app.
Not an essential feature, but it would make the app look nice!
Me 2
Luis
Luis 2025년 5월 30일
Me too. Matlab r2024a.
Nearly 6 years and still no alpha channel support on splash screen images... disappointing.

댓글을 달려면 로그인하십시오.

답변 (1개)

Hitesh
Hitesh 2025년 6월 3일
편집: Hitesh 2025년 6월 3일

0 개 추천

Hi Chao Gong,
I too encountered the similar issue, splash screen mechanism does not handle transparencies in images. This is the reason it shows a black background for the splash screen while executing the standalone application. The workaround that worked for me was to edit the image to have a non-transparent background.
Splash Image with Original Image:
Splash Image after making the non transparent background.

질문:

2019년 7월 1일

댓글:

2025년 6월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by