ImageUtils.GetImageMediaTypeFromFilename

Returns the image media type for a give file extension based on a filename or url passed in.

public static string GetImageMediaTypeFromFilename(string file)

Parameters

file


See also:

Class ImageUtils

© West Wind Technologies, 1996-2020 • Updated: 07/15/20
Comment or report problem with topic