예제 #1
0
        public Bitmap ApplyFilter(Bitmap image, string filterName)
        {
            var matrix = new ImageMatrix(image);
            var filter = FilterStorage.GetMask(filterName);

            return(matrix.ApplyFilter(filter).ToBitmap(ScaleImageHelper._cutPixels));
        }