return the approriate encoded for the mime-type of the image being created
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
| C# |
|---|
public static ImageCodecInfo GetEncoderInfo( string myMimeType ) |
| Visual Basic |
|---|
Public Shared Function GetEncoderInfo ( myMimeType As String ) As ImageCodecInfo |
Parameters
- myMimeType
- Type: System..::..String
mime type (e.g jpg/png)