Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0M15
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      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.

        Activity

        Hide
        Tim Ellison added a comment -

        Thanks Lang,

        Patch applied to imageIO module at repo revision r958580.

        I added the standard Apache header to your test case, and removed the author tag for the implementation (since you made a substantive change there too).

        Please verify the patch was applied as you expected.

        Show
        Tim Ellison added a comment - Thanks Lang, Patch applied to imageIO module at repo revision r958580. I added the standard Apache header to your test case, and removed the author tag for the implementation (since you made a substantive change there too). Please verify the patch was applied as you expected.
        Hide
        Hudson added a comment -

        Integrated in Harmony-1.5-head-linux-x86_64 #868 (See http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/868/)
        Apply patch HARMONY-6563 (Implement ImageTypeSpecifier.createGrayscale())

        Show
        Hudson added a comment - Integrated in Harmony-1.5-head-linux-x86_64 #868 (See http://hudson.zones.apache.org/hudson/job/Harmony-1.5-head-linux-x86_64/868/ ) Apply patch HARMONY-6563 (Implement ImageTypeSpecifier.createGrayscale())
        Hide
        Hudson added a comment -

        Integrated in Harmony-select-1.5-head-linux-x86_64 #44 (See http://hudson.zones.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/44/)
        Apply patch HARMONY-6563 (Implement ImageTypeSpecifier.createGrayscale())

        Show
        Hudson added a comment - Integrated in Harmony-select-1.5-head-linux-x86_64 #44 (See http://hudson.zones.apache.org/hudson/job/Harmony-select-1.5-head-linux-x86_64/44/ ) Apply patch HARMONY-6563 (Implement ImageTypeSpecifier.createGrayscale())
        Hide
        Lang Yang added a comment -

        Verified. Thanks Tim!

        Show
        Lang Yang added a comment - Verified. Thanks Tim!

          People

          • Assignee:
            Tim Ellison
            Reporter:
            Lang Yang
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development