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
Params
Name Description
format The ImageFormat to be converted.
return The preferred media type.
Notes

None.

Example

None.