Details

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

    Description

      Implement:
      1 - public static ImageTypeSpecifier createGrayscale(int bits, int dataType, boolean isSigned)
      2 - public static ImageTypeSpecifier createGrayscale(int bits, int dataType, boolean isSigned, boolean isAlphaPremultiplied)

      spec - http://java.sun.com/j2se/1.4.2/docs/api/javax/imageio/ImageTypeSpecifier.html#createGrayscale(int, int, boolean)

      I used ComponentColorModel to create ColorModel and compatible SampleModel.

      Attachments

        1. HARMONY-6563.diff
          5 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: