ImageWebExtensionMappingGetWebSafeFormat Method
Gets the corresponding web-safe image save format for a file extension.
Namespace: GleamTech.ImageUltimate.AspNetAssembly: GleamTech.ImageUltimate (in GleamTech.ImageUltimate.dll) Version: 6.3.0
public static ImageWebSafeFormat GetWebSafeFormat(
string file
)
Public Shared Function GetWebSafeFormat (
file As String
) As ImageWebSafeFormat
- file String
- The file name or path or extension (with or without leading dot) of the image.
ImageWebSafeFormatAn
ImageWebSafeFormat value if found; otherwise,
Jpg.