registerHeifEncoder

Adds encoder as the encoder of its HEIF item type, so that encodeHeic can write HEIF files whose items have that type (#174). An encoder for a type that already has one replaces it. Safe from several threads.

Throws

if its item or configuration type is not four characters