Wildmeshing Toolkit
save_image_exr.cpp File Reference
#include "save_image_exr.hpp"
#include <tinyexr.h>
#include <cassert>
#include <wmtk/utils/Logger.hpp>
Include dependency graph for save_image_exr.cpp:

Go to the source code of this file.

Namespaces

 wmtk
 
 wmtk::components
 
 wmtk::components::adaptive_tessellation
 
 wmtk::components::adaptive_tessellation::image
 

Macros

#define TINYEXR_USE_STB_ZLIB   1
 
#define TINYEXR_USE_MINIZ   0
 

Functions

bool wmtk::components::adaptive_tessellation::image::save_image_exr_red_channel (size_t width, size_t height, const std::vector< float > &data, const std::filesystem::path &path)
 
bool wmtk::components::adaptive_tessellation::image::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)
 

Macro Definition Documentation

◆ TINYEXR_USE_MINIZ

#define TINYEXR_USE_MINIZ   0

Definition at line 3 of file save_image_exr.cpp.

◆ TINYEXR_USE_STB_ZLIB

#define TINYEXR_USE_STB_ZLIB   1

Definition at line 2 of file save_image_exr.cpp.