Skip to main content

Auto

Automatic image format optimization based on browser capabilities

enum Auto {
WEBP
AVIF
}

Values

Auto.WEBP

Automatically convert image to WebP format when the browser supports it, providing better compression than JPEG or PNG while maintaining quality

Auto.AVIF

Automatically convert image to AVIF format when the browser supports it, offering superior compression compared to WebP and other formats

Member Of

TransformationInput input