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

resize cannot Maintain aspect ratio #224

Closed
zhaoyun0071 opened this issue Jun 8, 2024 · 1 comment · Fixed by #263
Closed

resize cannot Maintain aspect ratio #224

zhaoyun0071 opened this issue Jun 8, 2024 · 1 comment · Fixed by #263
Labels
enhancement New feature or request

Comments

@zhaoyun0071
Copy link

Description

Resize cannot Maintain aspect ratio

Previous versions can set --width or --height

but now cannot

Problem or Motivation

No response

Expected behavior

No response

Alternatives Considered

No response

Anything else?

No response

@zhaoyun0071 zhaoyun0071 added the enhancement New feature or request label Jun 8, 2024
@SalOne22
Copy link
Owner

In version 0.11.0, we changed --width and --height to a single option. Use --size 500x_ to set width, height will be calculated automatically preserving aspect ratio. Use --size _x500 to set only height.

Interface are subject to change, in new pre-release I will change it to --size 500w for width and --size 500h for height or return --width and --height back

@SalOne22 SalOne22 linked a pull request Aug 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants