public ViewResult Index(IndexViewModel model)
        {
            if (ModelState.IsValid)
            {
                model.OutputImage = CreateBackdrop(model).ToBase64();
            }

            return this.View(model);
        }
        private static Image CreateBackdrop(IndexViewModel model)
        {
            var backdrop = new Backdrop(Image.FromStream(model.InputImage.InputStream), model.ToBackdropSettings());

            if (model.AddDominantColorsOverlay)
            {
                AddDominantColorsOverlay(backdrop);
            }

            return backdrop.Image;
        }