Пример #1
0
        private static void ApplyEffect(IMagickImage image, ThumbnailEffectType effect)
        {
            switch (effect)
            {
            case ThumbnailEffectType.Grayscale:

                image.Grayscale();
                break;

            case ThumbnailEffectType.Sepia:

                image.SepiaTone();
                break;
            }
        }
Пример #2
0
 public void SepiaTone()
 {
     _current.SepiaTone();
 }