Skip to content

ImageDecoders.DetectFormatId method

Identifies the input format by probing registered decoders, for diagnostics only; null when no decoder accepts the input.

public static string? DetectFormatId(ReadOnlySpan<byte> encoded)