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 comentarios

It is a common issue, look here for the reason and resolve it.
Chao Gong
Chao Gong el 1 de Jul. de 2019
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,
Chao Gong
Chao Gong el 1 de Jul. de 2019
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
Will Reeves
Will Reeves el 11 de Nov. de 2019
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!
miao wu
miao wu el 22 de Abr. de 2021
Me 2
Luis
Luis el 30 de Mayo de 2025
Me too. Matlab r2024a.
Nearly 6 years and still no alpha channel support on splash screen images... disappointing.

Iniciar sesión para comentar.

Respuestas (1)

Hitesh
Hitesh el 3 de Jun. de 2025
Editada: Hitesh el 3 de Jun. de 2025
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.

Preguntada:

el 1 de Jul. de 2019

Comentada:

el 3 de Jun. de 2025

Community Treasure Hunt

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

Start Hunting!

Translated by