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

[Gif] opacity background is processed wrong

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 7u6
    • javafx
    • 2.2.0b16, win7.

    Description

      Look at the attached image.

      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("animdog.gif");
              Group g = new Group(view);
              primaryStage.setScene(new Scene(g));
              primaryStage.show();
          }
      }

      I looked on this in explorer, gimp, firefox: all show dog on white (actually with opacite background) background. JavaFX shows only first frame with opacite background and all other - with black background...

      Attachments

        Issue Links

          Activity

            People

              kprazdnikwse Kirill.Prazdnikov (Inactive)
              akirov Alexander Kirov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported: