OptionalmaxOptionalqualityOptionalonOptionaloriginalOptionaluseOptionalstrictIf the compressed file is larger than the original, return the original. Default: false.
OptionalmaxOptionalmaxOptionalminOptionalminOptionalwidthOptionalheightOptionalresizeOptionalpositionAnchor point for letterboxing (contain) or cropping (cover). Default: 'center'. Values: 'center', 'top', 'right', 'bottom', 'left', 'top-left', 'top-right', 'bottom-left', 'bottom-right'. Also accepts compass aliases: 'north', 'east', 'south', 'west', etc.
OptionalwithoutWhen true, the image is never scaled above its original dimensions, even when the target box is larger. Disables minWidth/minHeight upscaling.
OptionalcheckOptionalretainOptionalbeforeOptionaldrewOptionalpreserveOptionalbitrateOptionalchannelsOptionalsampleOptionalvideoOptionalfps
Explicitly force Web Worker usage (true) or Main Thread usage (false).