Méthode | Description | |
---|---|---|
GetContentType ( string fileExtension ) : string | ||
GetImageFormatFromContentType ( string contentType ) : |
Gets image format from the content type
|
|
ParsePictureSize ( string pictureSize, string pictureName ) : |
Parses pictureSize string and returns a PictureSize instance if a valid pictureSize is passed We expect pictureSize as one of WidthxHeight|Width*Height|WidthXHeight|Width,Height
|
public static GetContentType ( string fileExtension ) : string | ||
fileExtension | string | |
Résultat | string |
public static GetImageFormatFromContentType ( string contentType ) : |
||
contentType | string | |
Résultat |
public static ParsePictureSize ( string pictureSize, string pictureName ) : |
||
pictureSize | string | |
pictureName | string | |
Résultat |