Completely removed GDI
This commit is contained in:
parent
ddf47ad51b
commit
d76e133f18
31 changed files with 236 additions and 2592 deletions
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
using System.Drawing;
|
||||
using System.IO;
|
||||
using SixLabors.ImageSharp.PixelFormats;
|
||||
|
||||
namespace MaddoShared;
|
||||
|
||||
|
|
@ -35,7 +35,7 @@ public class PicSettings
|
|||
public int Margine { get; set; }
|
||||
public int LogoAltezza { get; set; }
|
||||
public int LogoLarghezza { get; set; }
|
||||
public Color FontColoreRGB { get; set; }
|
||||
public Rgba32 FontColoreRGB { get; set; } = new(255, 255, 0, 255);
|
||||
public bool LogoAggiungi { get; set; }
|
||||
// Initialize logo-related strings to safe defaults to avoid null reference issues
|
||||
public string LogoNomeFile { get; set; } = string.Empty;
|
||||
|
|
@ -81,6 +81,4 @@ public class PicSettings
|
|||
public bool FotoRuotaASinistra { get; set; } = false;
|
||||
public string TempMinText { get; set; } = string.Empty;
|
||||
public bool OverwriteFiles { get; set; } = false;
|
||||
// Which image creator to use: "Sharp" for current implementation, "Alternate" for alternate library
|
||||
public string ImageCreatorProvider { get; set; } = "Sharp";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue