return the approriate encoded for the mime-type of the image being created

Namespace: DotNetNuke.Common.Utilities
Assembly: 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)

Return Value

returnsM:DotNetNuke.Common.Utilities.ImageUtils.GetEncoderInfo(System.String)

See Also