The problem is, libjxl_rs does not offer a way to get metadata
before decoding the entire image.
As such, there is no reasonable way to implement ImageDecoder here;
I think it's possible to make it decode the image on init,
but that would lead to unexpected behavior performance-wise.