Platforms to show: All Mac Windows Linux Cross-Platform
Back to CVImageBufferMBS class.
CVImageBufferMBS.CIImage as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Each time you call this function a new CIImage object is created, so cache it if possible.
CVImageBufferMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | AVFoundation | MBS AVFoundation Plugin | 13.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
CVImageBufferMBS.JPEG(CompressionFactor as Double = 0.8) as Memoryblock
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | AVFoundation | MBS AVFoundation Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Compression Factor is in range from 0 to 1.0.
Returns memoryblock with jpeg data or nil in case of error.
CVImageBufferMBS.NSImage as Variant
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | AVFoundation | MBS AVFoundation Plugin | 15.2 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Result is NSImageMBS object or nil in case of error.
Some examples using this method:
The items on this page are in the following plugins: MBS AVFoundation Plugin.