Esempio n. 1
0
        public void Save(Image curentImage)
        {
            SaveFileDialogWrapper saveDialog = new SaveFileDialogWrapper();
            string fileName = saveDialog.Save();

            if (!string.IsNullOrEmpty(fileName))
            {
                SaveBitmapByExtension(fileName,
                                      curentImage,
                                      FileExtension.GetImageFormatByFilterIndex(saveDialog.FilterIndex));
            }
        }
Esempio n. 2
0
        public void Save(Image curentImage)
        {
            SaveFileDialogWrapper saveDialog = new SaveFileDialogWrapper();
            string fileName = saveDialog.Save();

            if (!string.IsNullOrEmpty(fileName))
            {
                SaveBitmapByExtension(fileName,
                                 curentImage,
                                 FileExtension.GetImageFormatByFilterIndex(saveDialog.FilterIndex));
            }
        }