Animated GIF leads to SplashScreen being null

谁都会走 提交于 2019-11-29 17:38:34

I think you'll find that the problem comes down to two things...

  1. Using the command line parameter (-splash), Java expects the image to be a file on the file system, whereas the manifest file expects it to be an embedded resource.
  2. Java doesn't seem capable of playing optimised gifs, that is gifs whose frames represent the difference between the last and current frame, instead of a complete image (as far as the splash screen goes).

I tried using

and

The first image failed, but the second worked, the difference, as near as I can tell, is the first is optimised and the second is not...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!