Method TryGetOutputFormat
TryGetOutputFormat(string, out ImageOutputFormat)
Resolves a file extension (with or without the leading dot, any casing) to the output
format the toolkit writes for it; false for an extension of a format it only
decodes or does not know.
public static bool TryGetOutputFormat(string extension, out ImageOutputFormat format)
Parameters
extensionstringformatImageOutputFormat