Platforms to show: All Mac Windows Linux Cross-Platform
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | Graphics & Pictures | MBS Picture Plugin | 12.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil on any error.
source should not be nil.
offset should be 0 or bigger and is the start position in the data the pointer points to.
In the dest picture parameter you can provide a picture to draw in. If the picture is no big enough or nil, a new one is created.
The function will crash if the data is too small where the pointer points to. Needs width*height*3 bytes in the memory pointed to by pointer plus offset.
Does not access the mask inside the image!
Data is copied from memory block to the new picture, not referenced.
See also:
PtrRGBtoPictureMBS(source as Ptr, offset as Integer, width as Integer, height as Integer) as picture
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
global method | Graphics & Pictures | MBS Picture Plugin | 12.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns nil on any error.
source should not be nil.
offset should be 0 or bigger and is the start position in the data the pointer points to.
The function will crash if the data is too small where the pointer points to. Needs width*height*3 bytes in the memory pointed to by pointer plus offset.
Does not access the mask inside the image!
Data is copied from memory block to the new picture, not referenced.
See also:
The items on this page are in the following plugins: MBS Picture Plugin.