Exemplo n.º 1
0
        public void Process(string path)
        {
            var photo   = Photo.Load(path);
            var filters = new PhotoFilters();

            filters.ApplyBrightness(photo);
            filters.ApplyContrast(photo);
            filters.Resize(photo);

            photo.Save();
        }
Exemplo n.º 2
0
        public void Process()
        {
            var photo = new Photo();

            var filters = new PhotoFilters();

            filters.ApplyBrightness(photo);
            filters.ApplyContrast(photo);
            filters.Resize(photo);

            photo.Save();
        }