Platforms to show: All Mac Windows Linux Cross-Platform
Back to CIFilterGeneratorMBS class.
CIFilterGeneratorMBS.connectObject(sourceObject as Variant, sourceKey as string, targetObject as Variant, targetKey as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
sourceObject: A CIFilterMBS object, a CIImageMBS object, or a the path (an string or folderitem object) to an image.
sourceKey: The key that specifies the source object. For example, if the source is the output image of a filter, pass the outputImage key. Pass nil if the source object is used directly.
targetObject: The object that to link the source object to.
targetKey: The key that specifies the target for the source. For example, if you are connecting the source to the input image of a CIFilterMBS object, you would pass the inputImage key.
CIFilterGeneratorMBS.Constructor
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
You use the returned object to connect two or more CIFilter objects and input images. It is also valid to have only one CIFilter object in a filter generator.
See also:
CIFilterGeneratorMBS.Constructor(File as folderItem)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Raises exception on failure.
See also:
CIFilterGeneratorMBS.Constructor(Handle as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
See also:
CIFilterGeneratorMBS.Constructor(URL as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Raises exception on failure.
See also:
CIFilterGeneratorMBS.copy as CIFilterGeneratorMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
CIFilterGeneratorMBS.disconnectObject(sourceObject as Variant, sourceKey as string, targetObject as Variant, targetKey as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
sourceObject: A CIFilterMBS object, a CIImageMBS object, or a the path (an string or folderitem object) to an image.
sourceKey: The key that specifies the source object. Pass nil if the source object is used directly.
targetObject: The object that you want to disconnect the source object from.
targetKey: The key that specifies the target that the source object is currently connected to.
CIFilterGeneratorMBS.exportKey(key as string, targetObject as Variant, exportedKeyName as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
key: The key to export from the target object (for example, inputImage).
targetObject: The object associated with the key (for example, the filter).
exportedKeyName: A unique name to use for the exported key. Pass "" to use the original key name.
When you create a CIFilterMBS object from a CIFilterGeneratorMBS object, you might want the filter client to be able to set some of the parameters associated with the filter chain. You can make a parameter settable by exporting the key associated with the parameter. If the exported key represents an input parameter of the filter, the key is exported as an input key. If the key represents an output parameter, it is exported as an output key.
CIFilterGeneratorMBS.filterWithName(name as String) as CIFilterMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
Returns nil in case of error.
CIFilterGeneratorMBS.registerFilterName(name as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
name: A unique name for the filter chain you want to register.
This method allows you to register the filter chain as a named filter in the Core Image filter repository. You can then create a CIFilterMBS object from it using the the filterWithName method of the CIFilterMBS class.
CIFilterGeneratorMBS.removeExportedKey(exportedKeyName as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
CIFilterGeneratorMBS.setAttributes(attributes as dictionary, ExportedKey as string)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
attributes: A dictionary that describes the attributes associated with the specified key.
key: The exported key whose attributes you want to set.
By default, the exported key inherits the attributes from its original key and target object. You can use this method to change one or more of the existing attributes for the key, such as the default value or maximum value. For more information on attributes, see CIFilterMBS and Core Image Programming Guide.
CIFilterGeneratorMBS.writeToFile(File as FolderItem, atomically as Boolean = true) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
File: A location for the file generator file.
atomically: Pass true to specify that Core Image should create an interim file to avoid overwriting an existing file.
Returns true if the the object is successfully archived to the file.
Use this method to save your filter chain to a file for later use.
CIFilterGeneratorMBS.writeToURL(URL as String, atomically as Boolean = true) as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CoreImage | MBS MacCI Plugin | 17.2 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop, Console & Web |
URL: A location for the file generator file.
atomically: Pass true to specify that Core Image should create an interim file to avoid overwriting an existing file.
Returns true if the the object is successfully archived to the file.
Use this method to save your filter chain to a file for later use.
The items on this page are in the following plugins: MBS MacCI Plugin.