Converts all ERDAS IMAGINE raster files in a directory and its subdirectories into GeoTIFF raster files.
img2tif(cs_dir, cs_crs = NULL)
A character string specifying an existing directory.
An optional character string used to set the coordinate
reference system of all output raster files. See terra::crs
for further
information.
A character vector containing the paths to the processed ERDAS IMAGINE raster files.