Namespace > IC.PhotoController.Filter Namespace > Classes > BlackWhiteFilter Class
PhotoController 2.2
ContentsIndexHome
PreviousUpNext
BlackWhiteFilter Class

Defines a BlackWhiteFilter effect to turn the image to PixelFormat.Format1bppIndexed, which contains only black and white color.

C++
public: class BlackWhiteFilter : public BaseFilter;
C#
public sealed class BlackWhiteFilter : BaseFilter;
Visual Basic
Public sealed Class BlackWhiteFilter
Inherits BaseFilter

After being processed by this filter, your image cannot be encapsulated by the Graphics object anymore. Because your image has became indexed color, Graphics object can obly accept images other than indexed color.

IC.PhotoController.Filter.BaseFilter
    IC.PhotoController.Filter.BlackWhiteFilter

ColorAdjustFilters.cs

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