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

Function Documentation

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

Writes a floating-point OpenEXR bitmap. Converts the input bitmap to a floating-point bitmap first.

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

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