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

Document the contents of CreateHalftonePalette #5195

Open
peteroupc opened this issue Nov 7, 2024 · 0 comments
Open

Document the contents of CreateHalftonePalette #5195

peteroupc opened this issue Nov 7, 2024 · 0 comments
Assignees
Labels

Comments

@peteroupc
Copy link

peteroupc commented Nov 7, 2024

Type of issue

Missing information

Feedback

The list of 256 colors of the palette returned by CreateHalftonePalette should be documented. This is especially because some pages on Microsoft Learn may refer to this "halftone palette", such as:

I post this issue here because the sdk-api repository doesn't allow for posting issues, and because it relates to Windows application development.


Given that GDI in Windows 8 and later allows for only 32-bit-per-pixel display modes, there is a good chance that CreateHalftonePalette is simulated in such versions, and that other aspects of 8-bit-per-pixel and lower pixel depth modes are simulated, such as the rest of the Windows palette manager or the use of a specific dithering algorithm (and, if so, this dithering algorithm should be documented as well as all other aspects necessary for applications to do a like simulation).

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

No branches or pull requests

2 participants