Marblecore Imaging Library Documentation

Documentation Introduction
Documentation / Marblecore Imaging / Methods / FileConvert

FileConvert method

Converts an image file to another format.


Boolean FileConvert(strFile As String, bWebFilter As Boolean, strSaveAs As String, nFormat As Format)

Return value

Returns true if the function succeeded.


strFileStringYesString containing the path of the file.
bWebFilterBooleanNoOptional parameter which enables or disables the internet filter. If this parameter is true only web formats are accepted (GIF, JPEG, PNG).
strSaveAsStringNoOptional string containing the output file.
nFormatFormat (Enumeration)NoOptional parameter which specifies the desired file format.


File operations

See also

FileCrop | FileExpand | FileFlipHorizontal | FileFlipVertical | FileResize | FileRotate | FileRotateLeft | FileRotateRight | FileShrink | FileThumbnail