Convert an ImageFormat to a standard media (MIME) type.
Syntax

[C#]

static string ToMediaType(ImageFormat format);

[Visual Basic]

Shared Function ToMediaType(format As ImageFormat) As String
Notes

None.

Example

None.