Contains methods used to apply various effects on the bitmap.
Namespace:
Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public sealed class TransformsProvider
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:
using (var resize = new Resize()) { resize.Width = 800; resize.Height = 600; resize.InterpolationMode = ResizeInterpolationMode.High; resize.Apply(bitmap); }
you can just use this code:
bitmap.Transforms.Resize(800, 600, ResizeInterpolationMode.High);