Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / GetFormatAsStringFromFile

GetFormatAsStringFromFile method

Returns the suggested output format of the specified file as a string.

Syntax

String GetFormatAsStringFromFile(strFile As String)

Return value

Returns a string containing the image format.

Parameters

ParameterTypeRequiredDescription
strFileStringYesString containing the path of the file.

Category

Properties

See also

GetBase64String | GetBitsPerPixelFromFile | GetFormatFromFile | GetFormatFromString | GetFramesFromFile | GetGUID | GetHasMultipleFramesFromFile | GetHeightFromFile | GetInfoFromFile | GetInfoFromURL | GetIsAnimatedFromFile | GetIsCMYKFromFile | GetIsSupportedFromFile | GetMegaPixelsFromFile | GetMIMEFromFile | GetMIMEFromFormat | GetWidthFromFile | SetBackgroundColor | SetFormat | SetFormatDefault | SetPixel | SetTransparency