a5_convertimage Function
Syntax
dim result as B = a5_convertImage(B bInput, C requiredFormat)
Arguments
- bInputBinary
Input file as a binary object. Data can be .bmp, .jpg, .jpeg, or .png format.
- requiredFormatCharacter
Output format. Can be 'bmp', 'jpg', or 'png'.
Returns
- resultBinary
Returns the converted image as a blob in the requested format. Returns an empty blob if the conversion could not be performed.
Description
Converts binary image type.
Discussion
Converts a blob containing image data to another image format. Supported output image formats: .bmp, .jpg, and .png. To convert to other image formats, use a5_runImageMagicCommand().
See Also