SatDump 2.0.0-alpha-520736c72
Loading...
Searching...
No Matches
geotiff.h File Reference
#include "projection/standard/proj.h"
#include <tiffio.h>

Go to the source code of this file.

Functions

bool satdump::geotiff::try_read_geotiff (proj::projection_t *proj, TIFF *tif)
 Attempts to parse TIFF tags from a GeoTIFF file.
bool satdump::geotiff::try_write_geotiff (TIFF *tif, proj::projection_t *proj)
 Attempts to write TIFF tags to a GeoTIFF file.

Function Documentation

◆ try_read_geotiff()

bool satdump::geotiff::try_read_geotiff ( proj::projection_t * proj,
TIFF * tif )

Attempts to parse TIFF tags from a GeoTIFF file.

Parameters
projprojection to write
tifthe libtiff object
Returns
true on success

◆ try_write_geotiff()

bool satdump::geotiff::try_write_geotiff ( TIFF * tif,
proj::projection_t * proj )

Attempts to write TIFF tags to a GeoTIFF file.

Parameters
tifthe libtiff object
projprojection to write
Returns
true on success