Platforms to show: All Mac Windows Linux Cross-Platform
Back to AVFoundationMBS class.
AVFoundationMBS.WriteCGImageToFile(File as FolderItem, Type as String, Image as Variant, options as Dictionary = nil, tag as Variant = nil) as boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| shared method | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Image must be a CGImageMBS.
If this method returns true (parameters are correct), it starts the compression and writing of the image on a helper thread and later calls WriteCGImageToFileCompleted event to inform you about success or failure.
Returns false in case of bad parameters.
Tag is the value you passed when calling the original method.
The items on this page are in the following plugins: MBS AVFoundation Plugin.