Creates a formatted image from the passed raw image (Resizes the original image and converts it to a specified image type).
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(
byte[] image,
Size size,
ImageFormat imageFormat
) |
Visual Basic |
---|
Public Shared Function FormatImage (
image As Byte(),
size As Size,
imageFormat As ImageFormat
) As Byte() |
Visual C++ |
---|
public:
static array<unsigned char>^ FormatImage(
array<unsigned char>^ image,
Size size,
ImageFormat^ imageFormat
) |
F# |
---|
static member FormatImage :
image : byte[] *
size : Size *
imageFormat : ImageFormat -> byte[]
|
Return Value
Type:
array<Byte>[]()[][]Formatted image
See Also