FileHelper.CreateCollage Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

CreateCollage(IEnumerableInfo>, int, int, FitMode, ScaleMode, ContentAlignment, Color?, int, int, bool)

Creates a collage from the specified images.

public static FileInfo CreateCollage(IEnumerable<FileInfo> images, int width, int height, FitMode fit = FitMode.Fit, ScaleMode scale = ScaleMode.Down, ContentAlignment align, Color? background = default(Color? ), int quality = 90, int opacity = 100, bool ignoreICC = false)

Parameters

images
System.Collections.Generic.IEnumerable

The images to use for the collage (only the first 4 images will be used).

width
int
height
int
fit
FitMode
scale
ScaleMode
align
System.Drawing.ContentAlignment
background
System.Drawing.Color?
quality
int
opacity
int
ignoreICC
bool

Returns

System.IO.FileInfo