UtilFreeImageConvert(String, String, FREE_IMAGE_FORMAT, FREE_IMAGE_SAVE_FLAGS) Method
Converts the format of the specified image file.
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 void Convert(
string filepath,
string output,
FREE_IMAGE_FORMAT newFormat,
FREE_IMAGE_SAVE_FLAGS saveFlags = 0
)
Public Shared Sub Convert (
filepath As String,
output As String,
newFormat As FREE_IMAGE_FORMAT,
Optional saveFlags As FREE_IMAGE_SAVE_FLAGS = 0
)
Dim filepath As String
Dim output As String
Dim newFormat As FREE_IMAGE_FORMAT
Dim saveFlags As FREE_IMAGE_SAVE_FLAGS
UtilFreeImage.Convert(filepath, output, newFormat,
saveFlags)
public:
static void Convert(
String^ filepath,
String^ output,
FREE_IMAGE_FORMAT newFormat,
FREE_IMAGE_SAVE_FLAGS saveFlags = 0
)
static member Convert :
filepath : string *
output : string *
newFormat : FREE_IMAGE_FORMAT *
?saveFlags : FREE_IMAGE_SAVE_FLAGS
(* Defaults:
let _saveFlags = defaultArg saveFlags 0
*)
-> unit
No code example is currently available or this language may not be supported.
Parameters
- filepath String
-
The source image filepath.
- output String
-
The output filepath.
- newFormat FREE_IMAGE_FORMAT
-
The new image format.
- saveFlags FREE_IMAGE_SAVE_FLAGS (Optional)
-
Additional flags.
Note: Some functionalities of this assembly may require to install one or all of the listed NuGet packages:
FreeImageNET