Table of Contents

Method TryGetOutputFormat

Namespace
LMKit.Media.Image
Assembly
LM-Kit.NET.dll

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

extension string
format ImageOutputFormat

Returns

bool
Share