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

Resolve issue where image size is not reverted for images lacking text, despite revert_upscaling being enabled #620

Merged
merged 1 commit into from
May 17, 2024

Conversation

SamuelWN
Copy link
Contributor

@SamuelWN SamuelWN commented May 7, 2024

Moved the if ctx.revert_upscaling code-chunk to its own function, which is called during all return statements within the _translate function.

Moved the `if ctx.revert_upscaling` code-chunk to its own function, which is called during all return statements within the `_translate` function.
@SamuelWN SamuelWN changed the title Revert image upscaling for skipped images when revert_upscaling is enabled Resolve issue where image size is not reverted for images lacking text, despite revert_upscaling being enabled May 15, 2024
@zyddnys zyddnys merged commit 98aa019 into zyddnys:main May 17, 2024
0 of 4 checks passed
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