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

Be more careful on memory layout for iimages #8245

Merged
merged 1 commit into from
Dec 29, 2023
Merged

Be more careful on memory layout for iimages #8245

merged 1 commit into from
Dec 29, 2023

Conversation

PaulWessel
Copy link
Member

This PR does now write a blank space after TRB, but places a there only if the images has transparency. Based on email from @joa-quim to @PaulWessel


For safety, don’t do this “TRP “. Do “TRPa” or just “TRP”. But note that image says it is BRP
I mentioned this before. Never sure if we really tell appart TR from BR but this test image is no good to see if we end up with a UD flipped image.

image

This PR deals with this and all tests still pass as before, so I think it is OK to accept this PR.

This PR does now write a blank space after TRB, but places a there only if the images has transparency.
@PaulWessel PaulWessel added the maintenance Boring but important stuff for the core devs label Dec 29, 2023
@PaulWessel PaulWessel added this to the 6.5.0 milestone Dec 29, 2023
@PaulWessel PaulWessel self-assigned this Dec 29, 2023
@joa-quim joa-quim merged commit 0776994 into master Dec 29, 2023
6 checks passed
@joa-quim joa-quim deleted the img-layout branch December 29, 2023 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Boring but important stuff for the core devs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants