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 Comments

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

Sign in to comment.

Answers (1)

Hitesh
Hitesh on 3 Jun 2025
Edited: Hitesh on 3 Jun 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.

Categories

Find more on Convert Image Type in Help Center and File Exchange

Asked:

on 1 Jul 2019

Commented:

on 3 Jun 2025

Community Treasure Hunt

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

Start Hunting!