Creates a formatted image from the passed image (Resizes the original image and converts it to jpg image).
Namespace: MonoSoftware.Core.DrawingAssembly: 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[]
|
Return Value
Type:
array<Byte>[]()[][]Formatted image
See Also