Appearance
MimeTypeExtensions Class
Definition
Extensions for reading MimeTypeAttribute metadata from media-format enums.
- Namespace:
JASE.Media - Assembly:
JASE.Media.dll
Methods
| Name | Description |
|---|---|
string GetMimeType(AudioFormat format) | Returns the MIME type associated with the audio format (e.g. audio/mpeg), or null when the value carries no MimeTypeAttribute (e.g. Unknown). |
string GetMimeType(ImageFormat format) | Returns the MIME type associated with the image format (e.g. image/png), or null when the value carries no MimeTypeAttribute (e.g. Unknown). |