Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8095017

GIF frames have incorrect background

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8u60
    • 7u6, 8, 8u11
    • javafx
    • Linux x64 + JDK7

      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();
          }
      }

            vadim Vadim Pakhnushev
            peterz Peter Zhelezniakov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: