CustomEffectBase Class
Base class for user-defined custom effects.
Namespace: Lumia.Imaging.Custom
Assembly: Lumia.Imaging.Managed (in Lumia.Imaging.Managed.dll) Version: 0.0.0.0
Syntax
public abstract class CustomEffectBase : IImageProvider,
IImageConsumer, IDisposable, ICustomEffect
'Declaration
Public MustInherit Class CustomEffectBase
Implements IImageProvider, IImageConsumer, IDisposable, ICustomEffect
public ref class CustomEffectBase abstract : IImageProvider,
IImageConsumer, IDisposable, ICustomEffect
Lumia.Imaging.Custom.CustomEffectBase = function();
Type.createClass(
'Lumia.Imaging.Custom.CustomEffectBase',
null,
Lumia.Imaging.IImageProvider,
Lumia.Imaging.IImageConsumer,
IDisposable,
Lumia.Imaging.Custom.ICustomEffect);
Remarks
To create your own effect, subclass CustomEffectBase and provide your own implementation of OnProcess(Rect rect, Size imageSize, uint[] sourceImagePixels, uint[] targetImagePixels).
The only supported color format in this version is ColorFormat.Bgra8888, which means pixels are represented as UInt32 values.
Inheritance Hierarchy
System.Object
Lumia.Imaging.Custom.CustomEffectBase
Version Information
Lumia Imaging SDK
Supported in: 2.0