create a JPG image
Namespace: DotNetNuke.Common.UtilitiesAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
public static string CreateJPG( string sFile, Bitmap img, int compressionLevel ) |
Visual Basic |
---|
Public Shared Function CreateJPG ( sFile As String, img As Bitmap, compressionLevel As Integer ) As String |
Parameters
- sFile
- Type: System..::..String
name of image
- img
- Type: System.Drawing..::..Bitmap
bitmap of image
- compressionLevel
- Type: System..::..Int32
image quality