TransformsProvider Class

Contains methods used to apply various effects on the bitmap.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public sealed class TransformsProvider

Remarks

This class is accessible via the Bitmap.Transforms property. It alows you to apply effects and transforms (except ones used for tone and color correction) on the bitmap without creating an appropriate transform object (contained in Aurigma.GraphicsMill.Transforms namespace). Therefore you can write only single line of code to run the transform. For example, instead of this code:

C#
using (var resize = new Resize())
{
    resize.Width = 800;
    resize.Height = 600;
    resize.InterpolationMode = ResizeInterpolationMode.High;
    resize.Apply(bitmap);
}

you can just use this code:

C#
bitmap.Transforms.Resize(800, 600, ResizeInterpolationMode.High);

Inheritance Hierarchy

System.Object
L Aurigma.GraphicsMill.TransformsProvider

Thread Safety

Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.

See Also

Reference