Knowledge Base > Feather Image
PhotoController 2.1
ContentsIndexHome
PreviousUpNext
Feather Image in .NET

This article shows how to use Feather in the demo application.

There are two ways to aplply a feathered area to your image.

  1. Use mouse to select a rectangle on the image. Select menu - [Filter] -> [Feather] -> [Do Feather with Selected Rectangle].
  2. Select menu - [Filter] -> [Feather] -> [Configurate Feather Builder], you can do some simple customer feather.

The following figure shows the second way:

And then you will see the following dialog:

Select a light yellow as background color, and choose Ellipse style, press OK. You will see a feathered image like below:

Feather Ellipse

The upper image is generated by Controller.Feather method. You could see the source code in the demo application project. The code actually performs the following steps:

  •  Creates a FeatherBuilder object.
  •  Assign the background color.
  •  Build an ellipse feather mask by calling BuildEllipseMask method.
  •  Specify the Band of the Feather effect.
  •  Call PhotoController.Feather method by passing the FeatherBuilder class.

The following figure shows the Door feather effect :

Feather Door effect

The mask is built with BuildPathMask method. With other methods in FeatherBuilder, you can easily customize your desire feather mask.

Send comments about this topic.
Copyright (c) 2006-2007 @ ImageComponent.NET All rights reserved.