Image.Gdal - Gigas002/GTiff2Tiles GitHub Wiki

Gdal's method to work with input files.

Namespace

GTiff2Tiles.Core.Image

Methods

WarpAsync

Description: Runs GdalWarp with passed parameters.

Syntax:

public static async ValueTask WarpAsync(FileInfo inputFileInfo, FileInfo outputFileInfo, string[] options, OSGeo.GDAL.Gdal.GDALProgressFuncDelegate callback = null)

Parameters:

Type Name Description
System.IO.FileInfo inputFileInfo Input file
System.IO.FileInfo outputFileInfo Output file
System.String[] options Array of System.String parameters
OSGeo.GDAL.Gdal.GDALProgressFuncDelegate callback Delegate for for progress reporting from Gdal

Returns: System.Threading.Tasks.ValueTask.

InfoAsync

Description: Runs GdalInfo with passed parameters.

Syntax:

public static async ValueTask<string> InfoAsync(FileInfo inputFileInfo, string[] options = null)

Parameters:

Type Name Description
System.IO.FileInfo inputFileInfo Input file
System.String[] options Array of System.String parameters

Returns: System.Threading.Tasks.ValueTask<string> from GdalInfo.

⚠️ **GitHub.com Fallback** ⚠️