Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8280964

[Linux aarch64] : drawImage dithers TYPE_BYTE_INDEXED images incorrectly

    XMLWordPrintable

    Details

    • Subcomponent:
      2d
    • Resolved In Build:
      b11
    • CPU:
      aarch64
    • OS:
      linux_oracle

      Backports

        Description

        BufferedImage.TYPE_BYTE_INDEXED image type is not rendered properly in linux aarch64 machines
        Steps to reproduce:
        1) Run the attached Test ImageWriteParamTest.java along with fax.png
        2) It will create an output folder which contains the resultant image.
        3) Check whether the Image is rendered as expected or not.

        Expected behavior:
        The Image is rendered as expected. The color of rendered images must be the same as the original.
        Actual behavior:
        The color of the rendered image is not the same as the original(please see attached screenshot)

        Note: MarlinRenderingEngine also have the same issue

          Attachments

          1. Actual.jpg
            Actual.jpg
            32 kB
          2. Expected.jpg
            Expected.jpg
            34 kB
          3. fax.png
            fax.png
            170 kB
          4. ImageWriteParamTest.java
            23 kB

            Issue Links

              Activity

                People

                Assignee:
                prr Philip Race
                Reporter:
                aj Anto J
                Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: