auto ModularGenericCompress(Image& image, const ModularOptions& opts, BitWriter* writer, AuxOut* aux_out, size_t layer, size_t group_id, TreeSamples* tree_samples, size_t* total_pixels, const jxl::Tree* tree, GroupHeader* header, std::vector<Token>* tokens, size_t* widths) -> Status