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,
	Size size
)
Visual Basic
Public Shared Function FormatImage ( 
	image As Byte(),
	size As Size
) As Byte()
Visual C++
public:
static array<unsigned char>^ FormatImage(
	array<unsigned char>^ image, 
	Size size
)
F#
static member FormatImage : 
        image : byte[] * 
        size : Size -> byte[] 

Parameters

image
Type: array<System..::..Byte>[]()[][]
Raw image
size
Type: System.Drawing..::..Size
Size

Return Value

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

See Also