Splash screen with image of transparent background

3 次查看(过去 30 天)
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 个评论
Will Reeves
Will Reeves 2025-6-3
Nearly 6 years and still no alpha channel support on splash screen images... disappointing.

请先登录,再进行评论。

回答(1 个)

Hitesh
Hitesh 2025-6-3
编辑:Hitesh 2025-6-3
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.

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by