C# Class ImageProcessor.Plugins.Cair.ImageFactoryExtensions

Extends the ImageFactory class to provide a fluent API.
Datei anzeigen Open project: JimBobSquarePants/ImageProcessor

Public Methods

Method Description
ContentAwareResize ( this factory, ImageProcessor.Plugins.Cair.Imaging.ContentAwareResizeLayer layer ) : ImageFactory

Resizes the current image to the given dimensions using Content Aware Resizing.

ContentAwareResize ( this factory, Size size ) : ImageFactory

Resizes the current image to the given dimensions using Content Aware Resizing.

Method Details

ContentAwareResize() public static method

Resizes the current image to the given dimensions using Content Aware Resizing.
public static ContentAwareResize ( this factory, ImageProcessor.Plugins.Cair.Imaging.ContentAwareResizeLayer layer ) : ImageFactory
factory this /// The current instance of the class /// that this method extends. ///
layer ImageProcessor.Plugins.Cair.Imaging.ContentAwareResizeLayer /// The containing the properties required to resize the image. ///
return ImageFactory

ContentAwareResize() public static method

Resizes the current image to the given dimensions using Content Aware Resizing.
public static ContentAwareResize ( this factory, Size size ) : ImageFactory
factory this /// The current instance of the class /// that this method extends. ///
size System.Drawing.Size /// The containing the width and height to set the image to. ///
return ImageFactory