WIP for creating a unified API for animated & non-animated image decoders