SalOne22/rimage

resize cannot Maintain aspect ratio

Closed this issue · 1 comments

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

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