![Forrest logo](/images/logo.png)
gdal_translate:tldr:edf9b
The command gdal_translate
is a command-line utility provided by the GDAL (Geospatial Data Abstraction Library) library. It is used for converting raster data formats.
In the given command:
gdal_translate
is the name of the command-line utility.
-of ${JPEG}
is an option that specifies the output format for the translated file. Here, ${JPEG}
is a placeholder for the desired output format, which in this case is JPEG.
${path-to-input-tif}
is the path to the input TIF (Tagged Image File) file that you want to convert.
${path-to-output-jpeg}
is the path where you want to save the converted JPEG file.
Overall, this command uses GDAL to translate a TIF file to JPEG format using the gdal_translate
utility. The resulting JPEG file will be saved at the specified output path.