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

[Gif] opacity background is processed wrong

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 7u6
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
    • Environment:

      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

        1. animdog.gif
          11 kB
          Alexander Kirov

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: