FileHelper.GetImageExtension Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

GetImageExtension(String)

Returns the default extension for common image mime types.

public static string GetImageExtension(string mimetype)

Parameters

mimetype
System.String

Returns

System.String

The extension or an empty string if no match was found.