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 commentaires

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 le 30 Mai 2025
Me too. Matlab r2024a.
Nearly 6 years and still no alpha channel support on splash screen images... disappointing.

Connectez-vous pour commenter.

Réponses (1)

Hitesh
Hitesh le 3 Juin 2025
Modifié(e) : Hitesh le 3 Juin 2025

0 votes

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.

Question posée :

le 1 Juil 2019

Commenté :

le 3 Juin 2025

Community Treasure Hunt

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

Start Hunting!

Translated by