Skip to content

ImageDecoders.Register method

Registers a decoder that is queried before the previously registered regular decoders, replacing any decoder with the same Id.

public static void Register(IImageDecoder decoder)

Decoders are queried most recently registered first, regular decoders before fallback decoders; the first one whose CanDecode accepts the input wins.