Platforms to show: All Mac Windows Linux Cross-Platform

Back to CISamplerMBS class.

CISamplerMBS.kCISamplerAffineMatrix as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the option keys for creating a sampler.

The key for an affine matrix. The associated value is an NSArray object ([a b c d tx ty]) that defines the transformation to apply to the sampler.

Available in OS X v10.4 and later.

CISamplerMBS.kCISamplerColorSpace as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the option keys for creating a sampler.

The key for the color space to use when sampling the image. The associated value must be an RGB CGColorSpaceRef object. Using this option specifies that samples should be converted to this color space before being passed to a kernel. If not specified, samples will be passed to the kernel in the working color space of the Core Image context used to render the image.

Available in OS X v10.4 and later.

CISamplerMBS.kCISamplerFilterLinear as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values for filter modes.

Bilinear interpolation.

CISamplerMBS.kCISamplerFilterMode as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the option keys for creating a sampler.

The key for the filtering to use when sampling the image. Possible values are kCISamplerFilterNearest and kCISamplerFilterLinear.

Available in OS X v10.4 and later.

CISamplerMBS.kCISamplerFilterNearest as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values for filter modes.

Nearest neighbor sampling.

CISamplerMBS.kCISamplerWrapBlack as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values for wrap modes.

Pixels are transparent black.

CISamplerMBS.kCISamplerWrapClamp as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the values for wrap modes.

Coordinates are clamped to the extent.

CISamplerMBS.kCISamplerWrapMode as String

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
One of the option keys for creating a sampler.

The key for the sampler wrap mode. The wrap mode specifies how Core Image produces pixels that are outside the extent of the sample. Possible values are kCISamplerWrapBlack and kCISamplerWrapClamp.

Available in OS X v10.4 and later.

CISamplerMBS.samplerWithImage(ciImage as CIImageMBS) as CISamplerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates and returns a sampler that references an image.

A sampler object that references the image specified by the ciImage argument.

See also:

CISamplerMBS.samplerWithImage(ciImage as CIImageMBS, matrix as NSAffineTransformMBS, WrapMode as String, FilterMode as string) as CISamplerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates a new sampler based on the given image.

matrix:An affine transformation [a b c d tx ty] defining the transformation to be applied to the sampler.
wrapmode:A string defining how pixels outside the sampler's extent are produced. Options include kCISamplerWrapBlack (pixels are transparent black, the default) and kCISamplerWrapClamp (coordinates are clamped to the extent).
FilterMode:A string defining the filter to use when sampling the image. One of kCISamplerFilterNearest (point sampling) or kCISamplerFilterLinear (bilinear interpolation, the default).

On success handle will not be nil.

See also:

CISamplerMBS.samplerWithImage(ciImage as CIImageMBS, Options as Dictionary) as CISamplerMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method CoreImage MBS MacCI Plugin 16.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Creates and returns a sampler that references an image using options specified in a dictionary.

See kCISampler* shared methods for constants.

See also:

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


The biggest plugin in space...