ImageDecoder trait has been refactored to be `dyn` compatible, but the ImageEncoder trait has not. This came up in https://github.com/image-rs/image/pull/2554#issuecomment-3222022599