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

Added support for top right and bottom right TGA orientations #5829

Merged
merged 1 commit into from Nov 21, 2021

Conversation

radarhere
Copy link
Member

@radarhere radarhere commented Nov 11, 2021

Helps #5729

While http://paulbourke.net/dataformats/tga/ states that 'Bit 4' of the 'Image Specification' is 'reserved. Must be set to 0.', page 12 of https://www.dca.fee.unicamp.br/~martino/disciplinas/ea978/tgaffs.pdf states that 'Bit 4 is for left-to-right ordering'.

So this PR allows it to flip a TGA image horizontally.

@radarhere radarhere mentioned this pull request Nov 11, 2021
@hugovk hugovk merged commit c7a9055 into python-pillow:main Nov 21, 2021
48 of 49 checks passed
@hugovk
Copy link
Member

@hugovk hugovk commented Nov 21, 2021

Thanks! Also a candidate for release notes?

@radarhere radarhere deleted the tga_orientation branch Nov 21, 2021
radarhere added a commit to radarhere/Pillow that referenced this issue Nov 21, 2021
@radarhere
Copy link
Member Author

@radarhere radarhere commented Nov 22, 2021

Sure. See #5847

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.

None yet

2 participants