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

[Gif] opacity background is processed wrong

XMLWordPrintable

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

      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...

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

              Created:
              Updated:
              Resolved:
              Imported: