OptionalcontainResize to fit within the specified dimensions, maintaining aspect ratio. If both width and height are provided, the smaller dimension is used as the limit.
OptionalheightDesired height.
OptionaloutputOutput path for the resized image. If not provided, the original file will be overwritten.
OptionalwidthDesired width.
Options for resizing an image.