GIF Writer writes RGB image in gray scale when def img metadata is specified

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 6
    • Component/s: client-libs

      I am creating a RGB buffered image and writing it to a file using GIF Writer. When writing the image, I am getting the default image metadata from the writer by passing the ImageTypeSpecifier of the RGB image and passing it to the write method. When I read back the image from the file, the image appears in GRAYSCALE even though the image written is a RGB image. This is incorrect.

      This is reproducible on all platforms on Mustang-b40. This is not reproducible for any other writer such as JPG, PNG, BMP.

      I have attached a sample test. Execute the sample test as follows:
      java GIFWriterMetadataTest gif <image file>
      If a frame is shown with a gray scale version of the given image, the bug is reproduced.
      ###@###.### 2005-06-16 11:19:56 GMT

            Assignee:
            Andrew Brygin
            Reporter:
            Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: