FileConversionHelper.CanConvertToImage Method

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

CanConvertToImage(string)

Returns whether the specified file can be converted to an image format.

public static bool CanConvertToImage(string filename)

Parameters

filename
string

Filename to check.

Returns

bool

true if the file can be converted to an image, otherwise false.