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

Support for bottom-up and right-to-left images #2276

Open
LucaCiucci opened this issue Jul 2, 2024 · 0 comments
Open

Support for bottom-up and right-to-left images #2276

LucaCiucci opened this issue Jul 2, 2024 · 0 comments

Comments

@LucaCiucci
Copy link

I could not find a way to represent images with rows ordered bottom-up.
In Microsoft Media Foundations, they use negative stride but the SampleLayout struct does not handle this case.
It would be great to be able to use negative strides or maybe some kind of "inverted" flag, but I suppose this would be a breaking change.

Currently, the only way I know to handle this case is to convert the buffer by swapping the rows.

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

No branches or pull requests

1 participant