Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.0M14
    • Classlib
    • Patch Available

    Description

      I have implemented these methods
      javax.imageio.ImageIO.getImageReader()
      javax.imageio.ImageIO.getImageWriter()
      javax.imageio.spi.ImageReaderSpi.getImageWriterSpiNames()

      I only used the following Reader/Writer to test (Since they are the only available ones):
      ImageIO.getImageWriter(new JPEGImageReader(new JPEGImageReaderSpi()));
      ImageIO.getImageReader(new JPEGImageWriter(new JPEGImageWriterSpi()));
      ImageIO.getImageWriter(new PNGImageReader(new PNGImageReaderSpi()));

      Results:
      org.apache.harmony.x.imageio.plugins.jpeg.JPEGImageWriter@4c4feb1
      org.apache.harmony.x.imageio.plugins.jpeg.JPEGImageReader@4c50594
      org.apache.harmony.x.imageio.plugins.png.PNGImageWriter@4c50e6e

      These are the SUN's result:
      com.sun.imageio.plugins.jpeg.JPEGImageWriter@b1c260
      com.sun.imageio.plugins.jpeg.JPEGImageReader@100ab23
      com.sun.imageio.plugins.png.PNGImageWriter@1bd0dd4

      Attachments

        1. HARMONY-6482-yanglang.txt
          3 kB
          Lang Yang

        Activity

          People

            tellison Tim Ellison
            yanglang Lang Yang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: