ImageWebExtensionMapping.GetWebSafeFormat Method
Definition
- Namespace
- GleamTech.ImageUltimate.AspNet
- Assembly
- GleamTech.ImageUltimate.dll
Gets the corresponding web-safe image save format for a file extension.
public static ImageWebSafeFormat GetWebSafeFormat(string file)
Parameters
filestringThe file name or path or extension (with or without leading dot) of the image.
Returns
- ImageWebSafeFormat
An ImageWebSafeFormat value if found; otherwise, Jpg.