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

Invert alpha bit for map depth 16 #20

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Conversation

radarhere
Copy link

Suggestion for python-pillow#7965

Looking at 'Color Map Specification' in https://www.dca.fee.unicamp.br/~martino/disciplinas/ea978/tgaffs.pdf, it says

When working with VDA or VDA/D cards it is preferred that you select 16 bits (5 bits per primary with 1 bit to select interrupt control) and set the 16th bit to 0 so that the interrupt bit is disabled

I think setting the 16th bit to 0 actually means it is opaque, not transparent like Pillow is used to.

@Yay295 Yay295 merged commit 4b7464d into Yay295:patch-3 Jun 25, 2024
50 checks passed
@radarhere radarhere deleted the patch-3 branch June 25, 2024 20:42
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

Successfully merging this pull request may close these issues.

2 participants