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

Fix the return of odd numbered pixels #132

Merged
merged 2 commits into from
Dec 29, 2023

Conversation

PMohanJ
Copy link
Member

@PMohanJ PMohanJ commented Dec 24, 2023

The point of subtracting a dimension%2 from its actual dimension is to avoid odd numbered pixels, so due to variation of DPR from device to device the subtraction should be done at the end of pixel calculation.

Fixes #124

The point of subtracting a dimension%2 from its actual dimension is to
avoid odd numbered pixels, so due to variation of DPR from device to
device the subtraction should be done at the end of pixel calculation.
@PMohanJ PMohanJ changed the title fix the return of odd numbered pixels Fix the return of odd numbered pixels Dec 24, 2023
@ehfd
Copy link
Member

ehfd commented Dec 29, 2023

Closes #124.

@ehfd ehfd merged commit 7659218 into selkies-project:main Dec 29, 2023
1 check passed
@PMohanJ PMohanJ deleted the fix-x264-encoder branch January 10, 2024 08:51
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.

x264 encoder failing to initialize
2 participants