ImageWebExtensionMappingGetWebSafeFormat Method

Gets the corresponding web-safe image save format for a file extension.

Definition

Namespace: GleamTech.ImageUltimate.AspNet
Assembly: GleamTech.ImageUltimate (in GleamTech.ImageUltimate.dll) Version: 5.8.8
C#
public static ImageWebSafeFormat GetWebSafeFormat(
	string file
)

Parameters

file  String
The file name or path or extension (with or without leading dot) of the image.

Return Value

ImageWebSafeFormat
An ImageWebSafeFormat value if found; otherwise, Jpg.

See Also