Function libjxl :: jxl :: ModularEncode
auto ModularEncode(const Image& image, const ModularOptions& options, 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* width) -> Status