New: Use ImageSharp for resizing

This commit is contained in:
ta264
2019-10-14 21:21:00 +01:00
committed by Qstick
parent c85d3119f9
commit bc0cc2bfa9
5 changed files with 11 additions and 76 deletions
@@ -122,20 +122,6 @@ namespace NzbDrone.Common.Disk
}
}
public bool CanUseGDIPlus()
{
try
{
GdiPlusInterop.CheckGdiPlus();
return true;
}
catch (DllNotFoundException ex)
{
Logger.Trace(ex, "System does not have libgdiplus.");
return false;
}
}
public bool FolderWritable(string path)
{
Ensure.That(path, () => path).IsValidPath();