MImgLoadFromStringBase64

Functions ››
Parent Previous Next

hImage = MImgLoadFromStringBase64( sStr, nType, nFrame )

Loads an image from a base64 encoded string.

Parameters
sStr
String: The string to load

nType
Number: Specify MIMG_TYPE_UNKNOWN to let M!Image detect the type or one of the supported image types.

nFrame
Number: Frame number. See About Frames for further information.

Return
Number: Handle of the image or 0 if an error occurs

Example

Set hImage = MImgLoadFromStringBase64( sStr64, MIMG_TYPE_UNKNOWN, 0 )

Remarks
You can pass strings to this function which were get with the following functions:
- MImgGetStringBase64

See also
Load functions

Created with the Personal Edition of HelpNDoc: Free iPhone documentation generator