public void ApplyPreset(PresetChange preset)
 {
     if (_adapter == null)
     {
         GetAdapter().ApplyPreset(preset);
     }
     else
     {
         _adapter.ApplyPreset(preset);
     }
 }
 public void ApplyPreset(string presetFileName)
 {
     try
     {
         _presetChange = new PresetChange(_images, 0, _images.Count - 1, presetFileName);
         _presetChange.SaveChange();
         Console.WriteLine("[!] Correctly applied the preset to all the images");
     }
     catch (FileNotFoundException e)
     {
         Console.WriteLine(e.Message);
     }
 }
Exemple #3
0
 public void ApplyPresetToFile(PresetChange preset)
 {
     _xmpFile.SaveTags(tags: preset.GetTags());
 }
Exemple #4
0
 public void ApplyPreset(PresetChange preset)
 {
     ApplyPresetToFile(preset);
 }
 public void RemoveChanges()
 {
     _exposureChanges = new List <ExposureChange>();
     _vignetteChange  = null;
     _presetChange    = null;
 }