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

GIF frames have incorrect background

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u6, 8, 8u11
    • Fix Version/s: 8u60
    • Component/s: javafx
    • Labels:
    • Environment:

      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

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: