FireSTARR
Loading...
Searching...
No Matches
tiff.h
1/* SPDX-License-Identifier: AGPL-3.0-or-later */
2#ifndef FS_TIFF_H
3#define FS_TIFF_H
4#include "stdafx.h"
5#ifndef TIFFTAG_GDAL_NODATA
6#define TIFFTAG_GDAL_NODATA 42113
7#endif
8using TIFF = struct tiff;
9using GTIF = struct gtiff;
10namespace fs
11{
19{
20public:
21 ~GeoTiff();
22 GeoTiff(const string_view filename, const char* const mode);
23 const char* filename() const { return filename_.c_str(); }
24 TIFF* tiff() { return tiff_; }
25 GTIF* gtif() { return gtif_; }
26
27private:
28 string mode_{};
29 string filename_{};
30 TIFF* tiff_{nullptr};
31 GTIF* gtif_{nullptr};
32};
33}
34#endif
Definition tiff.h:19