MonoTouch.CoreImage.CIFilter Class
CoreImage image filter.

See Also: CIFilter Members

Syntax

[MonoTouch.Foundation.Register("CIFilter", true)]
[MonoTouch.ObjCRuntime.Availability(Introduced=MonoTouch.ObjCRuntime.Platform.iOS_5_0)]
public class CIFilter : MonoTouch.Foundation.NSObject, MonoTouch.Foundation.INSCoding, MonoTouch.Foundation.INSCopying, IDisposable

Remarks

On iOS 7.0, the following are the built-in filters:

Compositing Filters:

Affine Filters (MonoTouch.CoreImage.CIAffineFilter):

Blend Filters (MonoTouch.CoreImage.CIBlendFilter):

Compositing Filters (MonoTouch.CoreImage.CICompositingFilter):

Convolution Filters (MonoTouch.CoreImag.CIConvolutionCore):

Distortion Filters (MonoTouch.CoreImage.CIDistortionFilter):

Photo Effects (MonoTouch.CoreImage.CIPhotoEffect):

Transition Filters (MonoTouch.CoreImage.CITransitionFilter):

Specialized Filters:

To create a filter of the specified type, instantiate an instance of one of the above types, assign values to their properties and extract the result by using the OutputImage property.

C# Example

          var sepiaFilter = new CISepiaTone () {
          Image = mySourceImage,
          Intensity = 0.8f
          };
        

You can chain your filters as well:

C# Example

          var sepiaFilter = new CISepiaTone () {
          Image = mySourceImage,
          Intensity = .8f
          };
          var invert = new CIColorInvert () {
          Image = sepia.OutputImage
          };
        

Related content

Requirements

Namespace: MonoTouch.CoreImage
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0