Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

BMPStringtoPictureMBS(data as string) as picture
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
global method Pictures Import and Export MBS Picture Plugin 8.2 Yes Yes Yes Yes No
Function: Reads a BMP picture from a string.
dim p as Picture = LogoMBS(500)
dim s as string = p.BMPDataMBS
dim q as Picture = BMPStringtoPictureMBS(s)
window1.Backdrop = q
This function is endian safe and supports 1, 4, 8, 16, 24, 32 bit BMP images.
For 32bit images the alpha value is ignored.
Returns nil on any error.
Only uncompressed BMP files are supported.

Some examples using this method:

Some FAQ entries about this method:

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS Picture Plugin.

MBS Xojo PDF Plugins