Creates a formatted image from the passed image (Resizes the original image and converts it to jpg image).

Namespace: MonoSoftware.Core.Drawing
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public static byte[] FormatImage(
	Image image,
	int width,
	int height
)
Visual Basic
Public Shared Function FormatImage ( 
	image As Image,
	width As Integer,
	height As Integer
) As Byte()
Visual C++
public:
static array<unsigned char>^ FormatImage(
	Image^ image, 
	int width, 
	int height
)
F#
static member FormatImage : 
        image : Image * 
        width : int * 
        height : int -> byte[] 

Parameters

image
Type: System.Drawing..::..Image
Image
width
Type: System..::..Int32
Width
height
Type: System..::..Int32
Height

Return Value

Type: array<Byte>[]()[][]
Formatted image

See Also