Platforms to show: All Mac Windows Linux Cross-Platform
Back to Picture class.
Picture.TrimMBS(left as Integer, top as Integer, width as Integer, height as Integer) as picture
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Graphics & Pictures | MBS Picture Plugin | 8.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
This method does not handle the mask.
So p.Trim(0,0,p.width,p.height) will give you a copy of the image pixels without mask.
left and top are zero based.
Use TrimWithMaskMBS if you need the mask to be trimmed.
Returns nil on low memory or bad parameters.
The items on this page are in the following plugins: MBS Picture Plugin.