Devesprit.ImageProcessor & Devesprit.ImageServer
FocalTintEffectWeb

Description:

This processor creates tinted look of an image with a focal point represented by a shape. Devesprit.ImageServer implements a very flexible and powerful Focal Tint effect allowing you to define an area/region represented by a shape on which the FocalTint effect takes place. Given that, you can get focal soften effects like rectangles, ovals, stars of any number of points, polygons of any number of sides and much more. You can specify whether the area/region for focus should fit the target element's size or be of a fixed size. You can control the area/region location as well. In addition, reversing the effect is also supported.
The smoothing tint effect is determined based on how the shape's fill is set up. For example, if you set up the shape's fill to be a solid color, then no smoothing tint effect will be produced. However, if you set up the shape's fill to be a gradient colors and one of those colors is transparent or contains some transparency (through out Alpha color channel), then a smoothing tint effect will take place.

Parameters:

focaltint.Color

The color used for tinting.

focaltint.Location

Set how the area/region's shape used for creating the focal point will be positioned. If it is Center, then the area/region will be centered on the target Element; otherwise, the area/region's location must be specified by X and Y properties.

focaltint.PathPoints

Set a string containing pairs of point describing the path for creating the focal point. Use it for performing Path or RoundedPath focal shapes.

focaltint.PolygonSides

The number of sides of the polygon shape used for creating the focal point.

focaltint.ReverseEffect

Set whether focal tint effect should be reversed.

Accepted input values:

  • True
  • False
focaltint.Roundness

The shape roundness used for creating the focal point.

focaltint.Shape

The area/region's shape used for creating the focal point.

Accepted input values:

  • Rectangle
  • Oval
  • Polygon
  • Star
  • Path
  • RoundedRectangle
  • RoundedPolygon
  • RoundedStar
  • RoundedPath
focaltint.ShapeFill

The shape's fill used for creating the focal point. (see Fill Parameter)

focaltint.Sizing

The area/region's size type used for creating the focal point. If it is Fit, then the area/region's size will automatically fit to the target Element's size; otherwise, the area/region's size must be specified by Width and Height properties.

Accepted input values:

  • Custom
  • Fit
focaltint.StarInnerRadiusPercentage

The inner radius percentage of the star shape used for creating the focal point.

focaltint.StarPoints

The number of points of the star shape used for creating the focal point.

focaltint.Height

The height of the focal shape area/region.

focaltint.Width

The width of the focal shape area/region.

focaltint.X

The x-coordinate of the left side of the focal shape area/region.

focaltint.Y

The y-coordinate of the top side of the focal shape area/region.

Assembly:

Devesprit.ImageProcessor.Plugins.AdvancedEffects.dll

Example:

http://your-host/images/picture?focaltint.Shape=oval&focaltint.ShapeFill.Type=Gradient&focaltint.ShapeFill.GradientShape=Path&

focaltint.ShapeFill.GradientColor1=11ffffff&focaltint.ShapeFill.GradientColor2=000

Original

 

 

Result

 

See Also