Public bug reported:

Binary package hint: sun-java6-jdk

The Java 6 SDK documentation suggests that TIFF format files should be
capable of being read and written with ImageReader and ImageWriter
classes.  This is in any case a widely used and useful image format that
should be supported.  Google search suggests that other implementations
have this capability.

In my case, AMD64 running Hardy Heron 8.04 Kubuntu with all changes applied, 
the Sun Java 6 JDK and Java VM reported version "java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)"

there does not appear to be an ImageReader or ImageWriter for TIFF
files.  The following code fragment

    String[] names = ImageIO.getReaderFormatNames();
    
    System.out.println("\r\nImage Reader formats");
    for (i=0;i<names.length;i++) {
      System.out.println("JVM can read files of type " + names[i]);
    }
    names = ImageIO.getWriterFormatNames();
    
    System.out.println("\r\nImage Writer formats");
    for (i=0;i<names.length;i++) {
      System.out.println("JVM can write files of type " + names[i]);
    }

gives the following output:

Image Reader formats
JVM can read files of type BMP
JVM can read files of type bmp
JVM can read files of type jpg
JVM can read files of type JPG
JVM can read files of type jpeg
JVM can read files of type wbmp
JVM can read files of type png
JVM can read files of type JPEG
JVM can read files of type PNG
JVM can read files of type WBMP
JVM can read files of type GIF
JVM can read files of type gif

Image Writer formats
JVM can write files of type BMP
JVM can write files of type bmp
JVM can write files of type jpg
JVM can write files of type JPG
JVM can write files of type jpeg
JVM can write files of type wbmp
JVM can write files of type png
JVM can write files of type JPEG
JVM can write files of type PNG
JVM can write files of type WBMP
JVM can write files of type GIF
JVM can write files of type gif

There should be entries for "tif" and "TIF".

** Affects: sun-java6 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
AMD64 Sun java 6 ImageIO no TIFF support
https://bugs.launchpad.net/bugs/241595
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to