TTMSFNCUtils.CreateBitmapFromBase64 Method
Creates a bitmap from a Base64-encoded image stream.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
class function CreateBitmapFromBase64(const ABase64: string; const AURL: Boolean = False): TTMSFNCBitmap;
Parameters
| Name | Description |
|---|---|
ABase64 |
Base64 image data, with or without a data URL prefix on supported platforms. |
AURL |
When True, treats ABase64 as URL-safe Base64. Defaults to False. |
Returns
New bitmap instance containing the decoded image. The caller is responsible for freeing it.