Output img looks distorted when writing USHORT_555_RGB using BMPWriter with BI_BITFIELDS compression

XMLWordPrintable

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

      I am writing a buffered image of type USHORT_555_RGB to a file using BMP Writer. I have set the compression type to BI_BITFILEDS. Once the image is written, I am reading back the same image using BMP ImageReader. The image looks completely distorted. I tried opening the output image using some native apps and the image looks the same. I have attached a screenshot of the image.

      This is reproducible since Tiger-FCS on all platforms.

      I have attached a sample test. Execute the sample test. Check the third image that is getting loaded. It will be distorted.
      ###@###.### 2005-07-08 13:42:30 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: