splash screen for compiled application is not hard-coded in the app and can be modified

조회 수: 2 (최근 30일)
When launching a compiled application, the app look in the folder it is launched from for a file with the same name of the splash screen and shows it.
This causes several unwanted behavior such as:
  • If the user moves the app to another folder, he needs to copy the splashscreen file together with it
  • If the app doesn't find a file with the set name, the splash screen will not show up
  • The user can MODIFY the splash screen !!!
  • The user can even replace the splash screen with a new one as long as he saves the new splash with the same name of the old one
Is there a way to embed the splash screen in the .exe file (as it happens for other images in the app) so that it is hard-coded in the exe and it is unmutable?

답변 (1개)

Subhadeep Koley
Subhadeep Koley 2020년 1월 14일
Hi Luca, it seems there's no straightforward way to change this behavior.
  댓글 수: 1
Eduardo Salazar
Eduardo Salazar 2021년 7월 23일
편집: Eduardo Salazar 2021년 7월 23일
Why wouldn't you be able to
  • Read the image using imread
  • Create a JFrame object
  • Render using imshow
Just thinking...

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

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by