OptionalmaxThe maximum width for the resized image.
OptionaloptimizeWhether to optimize the image (e.g., reduce file size).
OptionalresizeWhether to resize the image.
OptionalsquaredWhether to square the image (crop to a square aspect ratio).
OptionalsuffixA suffix to add to the output filename.
OptionalwatermarkWhether to apply a watermark to the image.
OptionalwatermarkThe 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.