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

Any possible to support self-adaption proportional width or height ? #9

Open
ycrao opened this issue May 27, 2020 · 1 comment
Open

Comments

@ycrao
Copy link

ycrao commented May 27, 2020

In some case, need resize image to fixed width with proportional height, or fixed height with proportional width.

mergi \
-i "https://cdn.pixabay.com/photo/2015/03/26/09/54/pug-690566_960_720.jpg" \
-r "250 fit"

image

@noelyahan
Copy link
Owner

@ycrao this seems a useful feature and possible thing to add btw just to be clear, as an example if the image width,height (1000, 500) and the fixed width is 250 the proportional height should be 500

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

2 participants