Ejemplo n.º 1
0
 ///<summary>
 /// Smush images from list into single image in vertical direction.
 ///</summary>
 ///<param name="offset">Minimum distance in pixels between images.</param>
 ///<exception cref="MagickException"/>
 public MagickImage SmushVertical(int offset)
 {
     Wrapper.MagickImage image = _Instance.Smush(GetImageInstances(), offset, true);
     return(MagickImage.Create(image));
 }
Ejemplo n.º 2
0
 ///<summary>
 /// Merge this collection into a single image.
 /// This is useful for combining Photoshop layers into a single image.
 ///</summary>
 ///<exception cref="MagickException"/>
 public MagickImage TrimBounds()
 {
     Wrapper.MagickImage image = _Instance.TrimBounds(GetImageInstances());
     return(MagickImage.Create(image));
 }
Ejemplo n.º 3
0
 ///<summary>
 /// Inlay the images to form a single coherent picture.
 ///</summary>
 ///<exception cref="MagickException"/>
 public MagickImage Mosaic()
 {
     Wrapper.MagickImage image = _Instance.Mosaic(GetImageInstances());
     return(MagickImage.Create(image));
 }
Ejemplo n.º 4
0
 ///<summary>
 /// Smush images from list into single image in horizontal direction.
 ///</summary>
 ///<param name="offset">Minimum distance in pixels between images.</param>
 ///<exception cref="MagickException"/>
 public MagickImage SmushHorizontal(int offset)
 {
     Wrapper.MagickImage image = _Instance.Smush(GetImageInstances(), offset, false);
     return(MagickImage.Create(image));
 }
Ejemplo n.º 5
0
 ///<summary>
 /// Applies a mathematical expression to the images.
 ///</summary>
 ///<param name="expression">The expression to apply.</param>
 ///<exception cref="MagickException"/>
 public MagickImage Fx(string expression)
 {
     Wrapper.MagickImage image = _Instance.Fx(GetImageInstances(), expression);
     return(MagickImage.Create(image));
 }
Ejemplo n.º 6
0
 ///<summary>
 /// Create a composite image by combining the images with the specified settings.
 ///</summary>
 ///<param name="settings">The settings to use.</param>
 ///<exception cref="MagickException"/>
 public MagickImage Montage(MontageSettings settings)
 {
     Wrapper.MagickImage image = _Instance.Montage(GetImageInstances(), MontageSettings.GetInstance(settings));
     return(MagickImage.Create(image));
 }
Ejemplo n.º 7
0
 ///<summary>
 /// Flatten this collection into a single image.
 /// This is useful for combining Photoshop layers into a single image.
 ///</summary>
 ///<exception cref="MagickException"/>
 public MagickImage Flatten()
 {
     Wrapper.MagickImage image = _Instance.Flatten(GetImageInstances());
     return(MagickImage.Create(image));
 }
Ejemplo n.º 8
0
 ///<summary>
 /// Evaluate image pixels into a single image. All the images in the collection must be the
 /// same size in pixels.
 ///</summary>
 ///<param name="evaluateOperator">The operator.</param>
 ///<exception cref="MagickException"/>
 public MagickImage Evaluate(EvaluateOperator evaluateOperator)
 {
     Wrapper.MagickImage image = _Instance.Evaluate(GetImageInstances(), evaluateOperator);
     return(MagickImage.Create(image));
 }
Ejemplo n.º 9
0
 ///<summary>
 /// Combines one or more images into a single image. The grayscale value of the pixels of each
 /// image in the sequence is assigned in order to the specified channels of the combined image.
 /// The typical ordering would be image 1 => Red, 2 => Green, 3 => Blue, etc.
 ///</summary>
 ///<param name="channels">The channel(s) to combine.</param>
 ///<exception cref="MagickException"/>
 public MagickImage Combine(Channels channels)
 {
     Wrapper.MagickImage image = _Instance.Combine(GetImageInstances(), channels);
     return(MagickImage.Create(image));
 }
Ejemplo n.º 10
0
 ///<summary>
 /// Creates a single image, by appending all the images in the collection vertically.
 ///</summary>
 ///<exception cref="MagickException"/>
 public MagickImage AppendVertically()
 {
     Wrapper.MagickImage image = _Instance.Append(GetImageInstances(), true);
     return(MagickImage.Create(image));
 }
Ejemplo n.º 11
0
 ///<summary>
 /// Creates a single image, by appending all the images in the collection horizontally.
 ///</summary>
 ///<exception cref="MagickException"/>
 public MagickImage AppendHorizontally()
 {
     Wrapper.MagickImage image = _Instance.Append(GetImageInstances(), false);
     return(MagickImage.Create(image));
 }