Skip to content

File tif.hpp

File List > lib > tif > tif.hpp

Go to the documentation of this file

#pragma once

#include "lib/grid/grid.hpp"
#include "utilities/filesystem.hpp"
#include "utilities/progress_tracker.hpp"

template <typename GridT>
void write_to_tif(const Geo<GridT>& grid, const fs::path& filename,
                  std::optional<ProgressTracker> progress_tracker = {});

Geo<MultiBand<FlexGrid>> read_tif(const fs::path& filename);

template <typename T>
void write_to_image_tif(const GeoGrid<T>& grid, const fs::path& filename,
                        std::optional<ProgressTracker> progress_tracker = {});