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