예제 #1
0
        public static ImageFilter CreateImageFilter(Utilities.eFilterType i_FilterType, Image i_UserImage)
        {
            ImageFilter imageFilter;

            switch (i_FilterType)
            {
            case Utilities.eFilterType.BLUR:
                imageFilter = new ImgBlur(i_UserImage);
                break;

            case Utilities.eFilterType.GAMMA:
                imageFilter = new ImgGamma(i_UserImage);
                break;

            default:     // case Utilities.eFilterType.TRANPARENT
                imageFilter = new ImgTransparency(i_UserImage);
                break;
            }

            return(imageFilter);
        }
예제 #2
0
 public static ImageFilter CreateImageFilter(Utilities.eFilterType tRANPARENT, object imageNormal)
 {
     throw new NotImplementedException();
 }