private static bool CheckIfMagickSupported() { try { return TestImageMagick() != null; } catch (Exception) { return false; } }