Community
Participate
Working Groups
after ImageLoader.load() invoked, the imageLoader.data[index] contains frames with wrong order. this issue occurred only on Linux, while it works normally on Windows.
Thanks for the report. Which exact Eclipse version do you have? Can you please attach a small snippet demonstrating the problem?
Created attachment 281914 [details] example program this program is cloned from http://www.java2s.com/Tutorial/Java/0300__SWT-2D-Graphics/DisplayananimatedGIF.htm while it will save frame into /tmp/[index].png after loaded a gif file.
GTK-SWT is the only which use platform capabilities instead of pure java based implementation for image processing. If you tried it with a recent version and it works on Windows but not on Linux it is most likely related to that. You may also attach the gif you tried. I tried SWT Snippet194 to create a gif and Snippet141 to load that gif. It failed on Linux... I also tried one of the gif I made recently made for Eclipse [1]. That worked with Snippet141 and produce png files in correct order using your example. [1] https://www.eclipse.org/eclipse/news/4.14/platform.php#control-character-console
Created attachment 281942 [details] countdown animated gif from https://www.pinterest.com/pin/843087992729329007/ here's a count down animated gif retrived from https://www.pinterest.com/pin/843087992729329007/
Created attachment 281943 [details] generated png files in wrong order attachment is the output of snippet my test platform/environment: Xubuntu 18.04 openjdk 11.0.4 eclipse 2019.12