TTMSFNCUtils.SaveBitmapToBase64 Method
Encodes the current bitmap content as a Base64 string.
API unit family: TMSFNCUtils
Declaring type: TTMSFNCUtils
Syntax
class function SaveBitmapToBase64(const ABitmap: TTMSFNCBitmapHelperClass; const AURL: Boolean = False): string;
Parameters
| Name | Description |
|---|---|
ABitmap |
Bitmap to encode. |
AURL |
When True, produces URL-safe Base64. Defaults to False. |
Returns
Base64 representation of the bitmap stream, or an empty string when the bitmap has no content.