Function wt::bitmap::write_bitmap2d_exr(const std::filesystem::path&, const bitmap2d_t<float>&, const std::vector<std::string>&, const std::map<std::string, std::string>&)

Function Documentation

void wt::bitmap::write_bitmap2d_exr(const std::filesystem::path &path, const bitmap2d_t<float> &bitmap, const std::vector<std::string> &channel_names = {}, const std::map<std::string, std::string> &attributes = {})

Writes a floating-point OpenEXR bitmap.

Parameters:
  • channel_names – (optional) if provided, writes the names for each channel

  • attributes – (optional) map of arbitrary attributes to write in the EXR