Devesprit.ImageProcessor & Devesprit.ImageServer
MailStampEffect

Description:

This processor creates a mail stamp representation of an Image.

Method Declaration
Copy Code
public static ImageFactory MailStampEffect(this ImageFactory imageFactory, MailStampSettings settings)

MailStampSettings:

Background The mail stamp background (see Fill Class).
Height Set the mail stamp height.
ImageBorderColor Set the border color around the image (System.Drawing.Color).
Bottom Set the padding value for the bottom edge.
Left Set the padding value for the left edge.
Right Set the padding value for the right edge.
Top Set the padding value for the top edge.
PerforationBorderColor Set the border color of the perforations (System.Drawing.Color).
PerforationHeight Set the perforations height of the mail stamp.
PerforationWidth Set the perforations width of the mail stamp.
Width Set the mail stamp width.

Assembly:

Devesprit.ImageProcessor.Plugins.AdvancedEffects.dll

Example
Copy Code
new ImageFactory().Load(@"My-Image-Path")
.MailStampEffect(new MailStampSettings() {Width = 400, Height = 250});

Original

 

 

Result

See Also