Creates a formatted image from the passed image (Resizes the original image and converts it to a specified image type).
Namespace: MonoSoftware.MonoX.UtilitiesAssembly: MonoX (in MonoX.dll) Version: 5.1.40.5065 (5.1.40.5065)
Syntax
C# |
---|
public static byte[] ResizeImage(
bool useSuppliedSize,
bool maintainAspectRatio,
byte[] rawImage,
int width,
int height,
ImageFormat imgFormat
) |
Visual Basic |
---|
Public Shared Function ResizeImage (
useSuppliedSize As Boolean,
maintainAspectRatio As Boolean,
rawImage As Byte(),
width As Integer,
height As Integer,
imgFormat As ImageFormat
) As Byte() |
Visual C++ |
---|
public:
static array<unsigned char>^ ResizeImage(
bool useSuppliedSize,
bool maintainAspectRatio,
array<unsigned char>^ rawImage,
int width,
int height,
ImageFormat^ imgFormat
) |
F# |
---|
static member ResizeImage :
useSuppliedSize : bool *
maintainAspectRatio : bool *
rawImage : byte[] *
width : int *
height : int *
imgFormat : ImageFormat -> byte[]
|
Return Value
Type:
array<Byte>[]()[][]Formatted Image
See Also