feat: Add EXIF data removal option and update related UI bindings
Some checks failed
Build Windows Avalonia / build (push) Failing after 2m32s
Some checks failed
Build Windows Avalonia / build (push) Failing after 2m32s
This commit is contained in:
parent
e9142df97c
commit
fc0598e2fb
10 changed files with 104 additions and 72 deletions
|
|
@ -116,6 +116,11 @@ public class ImageCreatorImageSharp : IImageCreator
|
|||
_logger?.LogDebug(ex, "[ImageSharp] Failed to clear EXIF orientation on working image");
|
||||
}
|
||||
|
||||
if (_picSettings.RemoveExifData)
|
||||
{
|
||||
working.Metadata.ExifProfile = null;
|
||||
}
|
||||
|
||||
// Ensure DataFoto is set (extracted earlier) so time-based text is available
|
||||
imgState.DataFoto = imgState.CreationDate ?? DateTime.Now;
|
||||
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ public class PicSettings
|
|||
public bool UsaTempoGaraTestoApplicare { get; set; }
|
||||
public bool UsaRotazioneAutomatica { get; set; }
|
||||
public bool UsaForzaJpg { get; set; }
|
||||
public bool RemoveExifData { get; set; }
|
||||
public int LarghezzaSmall { get; set; }
|
||||
public int AltezzaSmall { get; set; }
|
||||
public bool CreaMiniature { get; set; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue