Skip to content

Invert alpha bit for map depth 16#20

Merged
Yay295 merged 1 commit into
Yay295:patch-3from
radarhere:patch-3
Jun 25, 2024
Merged

Invert alpha bit for map depth 16#20
Yay295 merged 1 commit into
Yay295:patch-3from
radarhere:patch-3

Conversation

@radarhere
Copy link
Copy Markdown

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
@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