ImageFormatOption
Namespace: MJCZone.MediaMatic.AspNetCore.Transformations
Assembly: MJCZone.MediaMatic.AspNetCore
Summary
Represents image format options for transformations, including auto-detection.
Inheritance
Base Class: Enum
sealed public
Contents
Enum Members (7)
Enum Members
| Name | Value | Description |
|---|---|---|
| Auto | 0 | Automatically select the best format based on browser capabilities. Priority: AVIF > WebP > original format. |
| Jpeg | 1 | JPEG format (lossy compression). |
| Png | 2 | PNG format (lossless compression). |
| WebP | 3 | WebP format (modern, efficient). |
| Avif | 4 | AVIF format (next-gen, highly efficient). |
| Gif | 5 | GIF format (animated images). |
| Bmp | 6 | BMP format (uncompressed). |