Summary: | [GTK] SWT-ImageLoader load animated Gif produce wrong index order | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] Platform | Reporter: | Sunneo IceCold <sunneo529> | ||||||||
Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||||||
Status: | NEW --- | QA Contact: | |||||||||
Severity: | normal | ||||||||||
Priority: | P3 | CC: | loskutov, paul-eclipse, Tobias.Steger | ||||||||
Version: | 4.14 | Keywords: | needinfo | ||||||||
Target Milestone: | --- | ||||||||||
Hardware: | PC | ||||||||||
OS: | Linux | ||||||||||
See Also: | https://bugs.eclipse.org/bugs/show_bug.cgi?id=545032 | ||||||||||
Whiteboard: | |||||||||||
Attachments: |
|
Description
Sunneo IceCold
2020-02-18 22:03:30 EST
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
|