Animated GIF leads to SplashScreen being null

前端 未结 1 493
醉梦人生
醉梦人生 2020-12-22 03:41

I know this is probably close to a duplicate of this thread: Animated GIF in Splashscreen

But since it seems unanswered and I can\'t comment on it or anything I\'m s

相关标签:
1条回答
  • 2020-12-22 04:20

    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

    Pony01

    and

    Pony02

    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...

    0 讨论(0)
提交回复
热议问题