Skip to content

The image display is incorrect due to incorrect pixel processing #528

Description

@WuWenjing11

Hello, I encountered a DX image that did not display correctly. After analysis, it was found that bits allocated=16, bits Stored=14, and the first two bits of the 16 bit pixel were both 1.
This resulted in the 0xF3F8 calculation of the original pixel data obtaining 62456 instead of 13304 (0x33F8). When I use 13304, it displays correctly. Is this a bug and can it be fixed?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions