OS Manuals

/usr/bin/gdal_translate

GDAL library and tools without Python/Java bindings

From gdal-no-py 3.13.3-r4 (enterprise-packages), captured 2026-11-08 by running gdal_translate --help (exit 0). permalink

Usage: gdal_translate [--help] [--long-usage] [--help-general]
                      [-ot Byte|Int8|[U]Int{16|32|64}|CInt{16|32}|[C]Float{32|64}]
                      [-if <format>]... [-of <output_format>] [--quiet]
                      [-b <band>]... [-mask <mask>] [-expand gray|rgb|rgba]
                      [[-strict]|[-not_strict]]
                      [-outsize <xsize[%]|0> <ysize[%]|0>] [-tr <xres> <yres>]
                      [-ovr <level>|AUTO|AUTO-<n>|NONE] [-sds]
                      [-r nearest,bilinear,cubic,cubicspline,lanczos,average,mode]
                      [[-scale [<src_min> <src_max> [<dst_min> <dst_max>]]]...|
                      [-scale_X [<src_min> <src_max> [<dst_min> <dst_max>]]]...|
                      [-unscale]]
                      [[-exponent <value>]|[-exponent_X <value>]...]
                      [-srcwin <xoff> <yoff> <xsize> <ysize>]
                      [-projwin <ulx> <uly> <lrx> <lry>]
                      [-projwin_srs <srs_def>] [-epo] [-eco] [-a_srs <srs_def>]
                      [-a_coord_epoch <epoch>] [-a_ullr <ulx> <uly> <lrx> <lry>]
                      [-a_nodata <value>|none]
                      [-a_gt <gt(0)> <gt(1)> <gt(2)> <gt(3)> <gt(4)> <gt(5)>]
                      [-a_scale <value>] [-a_offset <value>] [-nogcp]
                      [-gcp <pixel> <line> <easting> <northing> [<elevation>]]...
                      [-colorinterp {red|green|blue|alpha|gray|undefined|pan|coastal|rededge|nir|swir|mwir|lwir|...},...]
                      [-colorinterp_X {red|green|blue|alpha|gray|undefined|pan|coastal|rededge|nir|swir|mwir|lwir|...}]...
                      [[-stats]|[-approx_stats]]
                      [-norat] [-noxmp] [-co <NAME>=<VALUE>]...
                      [-mo <NAME>=<VALUE>]... [-dmo <DOMAIN>:<KEY>=<VALUE>]...
                      [-oo <NAME>=<VALUE>]...
                      <input_file> <output_file>

Note: gdal_translate --long-usage for full help.

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.