UtilFreeImageResize(Bitmap, Int32, Int32, FREE_IMAGE_FILTER) Method
Resizes the specified image.
Namespace: DevCase.ThirdParty.FreeImageAssembly: DevCase.net48.ThirdParty.FreeImage (in DevCase.net48.ThirdParty.FreeImage.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static Bitmap Resize(
Bitmap bmp,
int width,
int height,
FREE_IMAGE_FILTER quality = 2
)
Public Shared Function Resize (
bmp As Bitmap,
width As Integer,
height As Integer,
Optional quality As FREE_IMAGE_FILTER = 2
) As Bitmap
Dim bmp As Bitmap
Dim width As Integer
Dim height As Integer
Dim quality As FREE_IMAGE_FILTER
Dim returnValue As Bitmap
returnValue = UtilFreeImage.Resize(bmp, width,
height, quality)
public:
static Bitmap^ Resize(
Bitmap^ bmp,
int width,
int height,
FREE_IMAGE_FILTER quality = 2
)
static member Resize :
bmp : Bitmap *
width : int *
height : int *
?quality : FREE_IMAGE_FILTER
(* Defaults:
let _quality = defaultArg quality 2
*)
-> Bitmap
No code example is currently available or this language may not be supported.
- bmp Bitmap
-
The source Bitmap.
- width Int32
-
The new width.
- height Int32
-
The new height.
- quality FREE_IMAGE_FILTER (Optional)
-
The resize quality.
Bitmap
The resulting image.
Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:
FreeImageNET