Optional
maxThe maximum width for the resized image.
Optional
optimizeWhether to optimize the image (e.g., reduce file size).
Optional
resizeWhether to resize the image.
Optional
squaredWhether to square the image (crop to a square aspect ratio).
Optional
suffixA suffix to add to the output filename.
Optional
watermarkWhether to apply a watermark to the image.
Optional
watermarkThe position of the watermark on the image (e.g., 'center', 'top', 'bottom').
ImageOptions Represents the options for image processing, including format-specific options, resizing, watermark, and more.