Table of Contents

Class UnPremultiplyEffect

Namespace
PaintDotNet.Direct2D1.Effects
Assembly
PaintDotNet.Windows.Core.dll

Use this effect to convert an image from premultiplied alpha to unpremultiplied alpha.

The effect replaces each input pixel P = { R, G, B, A } with P' = { R/A, G/A, B/A, A } in the output.

For more information, see Unpremultiply effect

public sealed class UnPremultiplyEffect : DeviceEffect<UnPremultiplyEffect.Props>, ISerializable, IDeviceEffect, IDeviceImage, IDirect2DResource, IFactoryProperty, IDeviceEffectProperties, IObjectRef, IIsDisposed, IDisposable, IInternalImpl
Inheritance
UnPremultiplyEffect
Implements
Inherited Members
Extension Methods

Constructors

UnPremultiplyEffect(IDeviceEffectFactory)
UnPremultiplyEffect(IDeviceEffectFactory, IDeviceImage)