Exemple #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));
            }
        }
Exemple #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));
            }
        }