Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
WuWenjing11 opened this issue Apr 21, 2023 · 0 comments
Open

Comments

@WuWenjing11
Copy link

WuWenjing11 commented Apr 21, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant