JDK-8128760 : GIF image rendered incorrectly
  • Type: Bug
  • Component: javafx
  • Sub-Component: graphics
  • Affected Version: 7-pool
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2011-09-10
  • Updated: 2015-06-17
  • Resolved: 2012-07-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7u6Fixed
Related Reports
Blocks :  
Blocks :  
Description
Compare rendering of an image, http://www.bbc.co.uk/vision/productisation/images/f/accordion_content.gif, in a browser and the program below. ImageView renders a black line at the bottom.

import javafx.application.Application; 
import javafx.scene.Group; 
import javafx.scene.Scene; 
import javafx.scene.image.Image; 
import javafx.scene.image.ImageView; 
import javafx.stage.Stage; 

public class ImageTest extends Application {

    public static void main(String[] args) {
        launch(ImageTest.class, args); 
    } 

    @Override public void start(Stage stage) { 
        Image img = new Image("http://www.bbc.co.uk/vision/productisation/images/f/accordion_content.gif");
        ImageView view = new ImageView(img); 
        Scene sc = new Scene(new Group(view)); 
        stage.setScene(sc); 
        stage.sizeToScene(); 
        stage.show(); 
    } 
}

Comments
http://jfxsrc.us.oracle.com/javafx/2.2/scrum/graphics/rt-closed/rev/de921706543f
01-07-2012