Wildmeshing Toolkit
save_image_exr.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Eigen/Core>
4 #include <array>
5 #include <cmath>
6 #include <filesystem>
9  size_t weigth,
10  size_t height,
11  const std::vector<float>& data,
12  const std::filesystem::path& path);
14  size_t width,
15  size_t height,
16  int r,
17  int g,
18  int b,
19  const std::vector<float>& data_r,
20  const std::vector<float>& data_g,
21  const std::vector<float>& data_b,
22  const std::filesystem::path& path);
23 } // namespace wmtk::components::adaptive_tessellation::image
bool save_image_exr_3channels(size_t width, size_t height, int r, int g, int b, const std::vector< float > &data_r, const std::vector< float > &data_g, const std::vector< float > &data_b, const std::filesystem::path &path)
bool save_image_exr_red_channel(size_t width, size_t height, const std::vector< float > &data, const std::filesystem::path &path)