private string GetFormat() { switch (Format) { case MagickFormat.Unknown: return(null); case MagickFormat.ThreeFr: return("3FR"); case MagickFormat.ThreeG2: return("3G2"); case MagickFormat.ThreeGp: return("3GP"); default: return(EnumHelper.GetName(Format).ToUpperInvariant()); } }
/// <summary> /// Unregisters this format. /// </summary> /// <returns>True when the format was found and unregistered.</returns> public bool Unregister() => NativeMagickFormatInfo.Unregister(EnumHelper.GetName(Format));