Module hooks

Source
Expand description

This module provides a way to register decoding hooks for image formats not directly supported by this crate.

Structs§

GenericReader
A wrapper around a type-erased trait object that implements Read and Seek.

Functions§

decoding_hook_registered
Returns whether a decoding hook has been registered for the given format.
register_decoding_hook
Register a new decoding hook or returns false if one already exists for the given format.
register_format_detection_hook
Registers a format detection hook.

Type Aliases§

DecodingHook
A function to produce an ImageDecoder for a given image format.