/// <summary> /// Save the edited image on given path /// </summary> /// <param name="imagePath">path on which image to be saved</param> /// <param name="onSaveListener">callback for saving image</param> public void SaveImage(string imagePath, INiceArt.IOnSaveListener onSaveListener) { try { SaveAsFile(imagePath, onSaveListener); } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
/// <summary> /// Save the edited image on given path /// </summary> /// <param name="imagePath">path on which image to be saved</param> /// <param name="onSaveListener">callback for saving image</param> public void SaveImage(string imagePath, INiceArt.IOnSaveListener onSaveListener) { try { SaveAsFile(imagePath, onSaveListener); } catch (Exception e) { Console.WriteLine(e); } }
public void SaveAsFile(string imagePath, INiceArt.IOnSaveListener onSaveListener) { try { SaveSettings saveSettings = new SaveSettings.Builder() .SetClearViewsEnabled(true) .SetTransparencyEnabled(true) .Build(); SaveAsFile(imagePath, saveSettings, onSaveListener); } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
public void SaveAsFile(string imagePath, INiceArt.IOnSaveListener onSaveListener) { try { SaveSettings saveSettings = new SaveSettings.Builder() .SetClearViewsEnabled(true) .SetTransparencyEnabled(true) .Build(); SaveAsFile(imagePath, saveSettings, onSaveListener); } catch (Exception e) { Console.WriteLine(e); } }
/// <summary> /// Save the edited image on given path /// </summary> /// <param name="imagePath">builder for multiple save options {@link SaveSettings}</param> /// <param name="saveSettings">builder for multiple save options {@link SaveSettings</param> /// <param name="onSaveListener">callback for saving image</param> public void SaveAsFile(string imagePath, SaveSettings saveSettings, INiceArt.IOnSaveListener onSaveListener) { try { Console.WriteLine(Tag, "Image Path: " + imagePath); ImagePath = imagePath; OnSaveListener = onSaveListener; SaveSettings = saveSettings; ParentView.SaveFilter(this); } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
/// <summary> /// Save the edited image on given path /// </summary> /// <param name="imagePath">builder for multiple save options {@link SaveSettings}</param> /// <param name="saveSettings">builder for multiple save options {@link SaveSettings</param> /// <param name="onSaveListener">callback for saving image</param> public void SaveAsFile(string imagePath, SaveSettings saveSettings, INiceArt.IOnSaveListener onSaveListener) { try { Log.Debug(Tag, "Image Path: " + imagePath); ImagePath = imagePath; OnSaveListener = onSaveListener; SaveSettings = saveSettings; ParentView.SaveFilter(this); } catch (Exception e) { Console.WriteLine(e); } }
public MyAsyncTask(NiceArtEditor editor, string imagePath, NiceArtEditorView parentView, INiceArt.IOnSaveListener onSaveListener, SaveSettings saveSettings, Bitmap saveBitmap, SaveType type) : base() { try { // do stuff Editor = editor; ImagePath = imagePath; ParentView = parentView; OnSaveListener = onSaveListener; Type = type; SaveSettings = saveSettings; SaveBitmap = saveBitmap; } catch (Exception e) { Methods.DisplayReportResultTrack(e); } }
public MyAsyncTask(NiceArtEditor editor, string imagePath, NiceArtEditorView parentView, INiceArt.IOnSaveListener onSaveListener, SaveSettings saveSettings, Bitmap saveBitmap, SaveType type) : base() { try { // do stuff Editor = editor; ImagePath = imagePath; ParentView = parentView; OnSaveListener = onSaveListener; Type = type; SaveSettings = saveSettings; SaveBitmap = saveBitmap; } catch (Exception e) { Console.WriteLine(e); } }