FileType
The FileType enum defines the available MIME types for media files.
Schema Definition
enum FileType {
IMAGE_JPEG
IMAGE_PNG
IMAGE_GIF
IMAGE_WEBP
IMAGE_SVG
VIDEO_MP4
VIDEO_WEBM
VIDEO_AVI
VIDEO_QUICKTIME
AUDIO_MPEG
AUDIO_WAV
AUDIO_OGG
AUDIO_FLAC
DOCUMENT_PDF
UNKNOWN
}
Values
| Value | Description |
|---|---|
IMAGE_JPEG | JPEG image format, a lossy compressed image format commonly used for photographs and web graphics. |
IMAGE_PNG | PNG image format, a lossless compressed image format supporting transparency, commonly used for web graphics and logos. |
IMAGE_GIF | GIF image format, supporting animation and limited colors, commonly used for simple animations and graphics. |
IMAGE_WEBP | WebP image format, a modern image format providing superior compression for both lossy and lossless images. |
IMAGE_SVG | SVG image format, a vector graphics format based on XML that scales without quality loss. |
VIDEO_MP4 | MP4 video format, a widely supported container format commonly used for video streaming and distribution. |
VIDEO_WEBM | WebM video format, an open media file format designed for the web, commonly used for HTML5 video. |
VIDEO_AVI | AVI video format, a multimedia container format developed by Microsoft for audio and video content. |
VIDEO_QUICKTIME | QuickTime video format, a multimedia container format developed by Apple for storing and playing digital media. |
AUDIO_MPEG | MPEG audio format, including MP3, a lossy compressed audio format widely used for music and voice. |
AUDIO_WAV | WAV audio format, an uncompressed audio format providing high quality sound reproduction. |
AUDIO_OGG | OGG audio format, a free, open container format supporting various audio codecs like Vorbis. |
AUDIO_FLAC | FLAC audio format, a lossless compressed audio format that preserves original audio quality. |
DOCUMENT_PDF | PDF document format, a portable document format preserving layout and formatting across platforms. |
UNKNOWN | File type could not be determined or is not supported by the defined format types. |
Member Of
Media object ● MediaFilter input