Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

CIFilterMBS.filterArrayFromSerializedXMP(xmpData as MemoryBlock, extent as CGRectMBS, byref NSError as Variant) as CIFilterMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 14.1 Yes No No Yes, macOS only No
Function: Returns an array of filter objects de-serialized from XMP data.
Notes:
xmpData: The XMP data created previously by calling serializedXMPFromFilters.
extent: The extent of the image from which the XMP data was extracted.
e: The address of an variant for receiving errors, otherwise nil. This is a NSErrorMBS.

Available in OS X v10.9 and later.

Feedback, Comments & Corrections

CIFilterMBS.FilterNamesInCategories(categories() as String) as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: Returns an array containing all published filter names that belong to all listed categories.
Notes:
categories: string array with the constants kCICategory*.
Returns nil on any error.

Feedback, Comments & Corrections

CIFilterMBS.FilterNamesInCategory(category as String) as string()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: Returns an array containing all published filter names in a category.
Example:
// load list of filters into Listbox

dim a() as string
dim cf as CIFilterMBS

// get all image categories
a=ciFilterMBS.FilterNamesInCategory(CIFilterMBS.kCICategoryStillImage)

StaticText1.text=str(UBound(a))+" filters."

for each s as string in a

// add to listbox
Listbox1.AddRow s

// load this filter
cf=CIFilterMBS.FilterWithName(s)

// And look into the attributes for the Displayname
if cf<>nil then
Listbox1.cell(Listbox1.LastIndex,1)=cf.DisplayName
end if
next
Notes: nil on any error.

Feedback, Comments & Corrections

CIFilterMBS.FilterWithHandle(handle as Integer) as CIFilterMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 10.4 Yes No No Yes, macOS only No
Function: Creates a new filter object based on the given handle.
Example:
// some filter
dim x as new CIFilterCropMBS

// create a copy
dim f as CIFilterMBS = CIFilterMBS.FilterWithHandle(x.Handle)

// and show name
MsgBox f.FilterName
Notes:
The object is retained.
Returns nil on error.

Feedback, Comments & Corrections

CIFilterMBS.filterWithImageData(Data as MemoryBlock, options as Dictionary) as CIFilterMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 17.4 Yes No No Yes, macOS only No
Function: Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage".
Notes: Note that when using this initializer, you should pass in a source type identifier hint (kCGImageSourceTypeIdentifierHint) key/value pair in order to help the decoder determine the file type, as otherwise confusion and incorrect results are possible.

Feedback, Comments & Corrections

CIFilterMBS.filterWithImageFile(File as FolderItem, options as Dictionary) as CIFilterMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 17.4 Yes No No Yes, macOS only No
Function: Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage".

Feedback, Comments & Corrections

CIFilterMBS.filterWithImageURL(URL as String, options as Dictionary) as CIFilterMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 17.4 Yes No No Yes, macOS only No
Function: Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage".

Feedback, Comments & Corrections

CIFilterMBS.FilterWithName(name as String) as CIFilterMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: Creates a new filter of type 'name'. All input values will be undefined.
Example:
dim cf as CIFilterMBS
// load this filter
cf=CIFilterMBS.FilterWithName("CIAffineTile")
Notes: Returns filter object for the name if found.

See also:

Feedback, Comments & Corrections

CIFilterMBS.FilterWithName(name as String, options as Dictionary) as CIFilterMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 17.4 Yes No No Yes, macOS only No
Function: Creates a new filter of type 'name'.
Notes:
The filter's input parameters are set from the dictionary of key-value pairs.
On OSX, any of the filter input parameters not specified in the dictionary will be undefined.
On iOS, any of the filter input parameters not specified in the dictionary will be set to default values.
Available in macOS 10.10 or newer.

See also:

Feedback, Comments & Corrections

CIFilterMBS.kCIActiveKeys as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 17.4 Yes No No Yes, macOS only No
Function: One of the options for image filter initialization.
Notes:
Read-only array containing a list of keys that affect the output image.
Depending on the RAW decoder version (kCIInputDecoderVersionKey) and the input image type, some input keys might have no effect.

Feedback, Comments & Corrections

CIFilterMBS.kCIApplyOptionColorSpace as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 16.0 Yes No No Yes, macOS only No
Function: One of the apply options.
Notes:
If used, the value of the kCIApplyOptionColorSpace key be must be an RGB CGColorSpaceMBS.
Using this option specifies that the output of the kernel is in this color space.
If not specified, the output of the kernel is in the working color space of the rendering CIContextMBS.

Feedback, Comments & Corrections

CIFilterMBS.kCIApplyOptionDefinition as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: One of the apply options.

Feedback, Comments & Corrections

CIFilterMBS.kCIApplyOptionExtent as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: One of the apply options.

Feedback, Comments & Corrections

CIFilterMBS.kCIApplyOptionUserInfo as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: One of the apply options.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeClass as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: Class name of the filter.
Notes: The class name of the filter.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeDefault as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: Default value for the slider.
Notes: The default value, specified as a floating-point value, for a filter parameter.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeDescription as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 16.0 Yes No No Yes, macOS only No
Function: One of the filter attributes.
Notes: The localized description of the filter. This description should inform the end user what the filter does and be short enough to display in the user interface for the filter. It is not intended to be technically detailed.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeDisplayName as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: Display name of this attribute (localized).
Notes: The localized version of the filter name that is displayed in the user interface.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeFilterAvailable_iOS as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 16.0 Yes No No Yes, macOS only No
Function: One of the filter attributes.
Notes: The iOS version in which the filter first became available, specified as a string.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeFilterAvailable_Mac as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 16.0 Yes No No Yes, macOS only No
Function: One of the filter attributes.
Notes: The OS X version in which the filter first became available, specified as a string.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeFilterCategories as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: Array of filter category names (see below)
Notes: An array of filter category keys that specifies all the categories in which the filter is a member.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeFilterDisplayName as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: Name of the filter intended for UI display (eg. localized).
Notes: The localized display name of the attribute.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeFilterName as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: The constant for the name of the filter.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeIdentity as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: The identity value for this attribute.
Notes: If supplied as a value for a parameter, the parameter has no effect on the input image.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeMax as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: Maximum value for the attribute.
Notes: The maximum value for a filter parameter, specified as a floating-point value.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeMin as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: Minimum value for the attribute.
Notes: The minimum value for a filter parameter, specified as a floating-point value.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeName as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: One of the filter attributes.
Notes: The name of the attribute.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeReferenceDocumentation as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 16.0 Yes No No Yes, macOS only No
Function: One of the filter attributes.
Notes: The localized reference documentation for the filter. The reference should provide developers with technical details.

Feedback, Comments & Corrections

CIFilterMBS.kCIAttributeSliderMax as String
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
shared method CoreImage MBS MacCG Plugin 7.3 Yes No No Yes, macOS only No
Function: Default value for the slider.
Notes: The maximum value, specified as a floating-point value, to use for a slider that controls input values for a filter parameter.

Feedback, Comments & Corrections

Next items

The items on this page are in the following plugins: MBS MacCG Plugin.




Links
MBS Xojo Plugins