|
ToolsGetFormat Method
|
Gets the image format most likely associated with a given file name.
Namespace:
Accord.Imaging
Assembly:
Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax public static ImageFormat GetFormat(
string fileName
)
Public Shared Function GetFormat (
fileName As String
) As ImageFormat
Request Example
View SourceParameters
- fileName
- Type: SystemString
The filename in the form "image.jpg".
Return Value
Type:
ImageFormatThe
ImageFormat most likely associated with
the given
fileName.
See Also