Creates a formatted image from the passed raw 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(
	byte[] image,
	int width,
	int height
)
Visual Basic
Public Shared Function FormatImage ( 
	image As Byte(),
	width As Integer,
	height As Integer
) As Byte()
Visual C++
public:
static array<unsigned char>^ FormatImage(
	array<unsigned char>^ image, 
	int width, 
	int height
)
F#
static member FormatImage : 
        image : byte[] * 
        width : int * 
        height : int -> byte[] 

Parameters

image
Type: array<System..::..Byte>[]()[][]
Raw image
width
Type: System..::..Int32
Width
height
Type: System..::..Int32
Height

Return Value

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

See Also