Description
The attached images are decoded incorrectly: all frames after the first one have incorrect background.
Test to reproduce:
import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.image.ImageView;
import javafx.stage.Stage;
public class Test extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage primaryStage) {
ImageView view = new ImageView("file:/tmp/icon_wink.gif");
Group g = new Group(view);
primaryStage.setScene(new Scene(g));
primaryStage.show();
}
}
Test to reproduce:
import javafx.application.Application;
import javafx.scene.Group;
import javafx.scene.Scene;
import javafx.scene.image.ImageView;
import javafx.stage.Stage;
public class Test extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage primaryStage) {
ImageView view = new ImageView("file:/tmp/icon_wink.gif");
Group g = new Group(view);
primaryStage.setScene(new Scene(g));
primaryStage.show();
}
}
Attachments
Issue Links
- duplicates
-
JDK-8093789 Animated GIFs flickering in JavaFX 8u40
-
- Resolved
-
-
JDK-8126221 [Gif] opacity background is processed wrong
-
- Resolved
-
-
JDK-8095794 [Image] Gifs rendered with error
-
- Closed
-
-
JDK-8116284 Javafx image not rendering properly
-
- Closed
-
- relates to
-
JDK-8093789 Animated GIFs flickering in JavaFX 8u40
-
- Resolved
-
-
JDK-8094537 GIF: disposal methods bugs.
-
- Resolved
-
(1 relates to)