HighMap library (C++)
Loading...
Searching...
No Matches
export_tiled.cpp File Reference

Namespaces

namespace  hmap
 

Functions

glm::ivec4 hmap::helper_compute_tile_bounds (int tile_x, int tile_y, const glm::ivec2 &tile_count, const glm::ivec2 &array_shape, bool overlapping_edges, bool reverse_tile_y_indexing)
 
void hmap::export_tiled (const std::string &fname_radical, const std::string &fname_extension, const Array &array, const glm::ivec2 &tiling, int leading_zeros=0, int depth=CV_8U, bool overlapping_edges=false, bool reverse_tile_y_indexing=false)
 Exports a 2D array as a set of grayscale PNG image tiles.