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

GIF frames have incorrect background

    XMLWordPrintable

Details

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

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: