GDAL_PANSHARPEN(1) GDAL GDAL_PANSHARPEN(1) (NAME) gdal_pansharpen - () (SYNOPSIS) gdal_pansharpen [--help] [--help-general] [,band=] [[,band=]]... [-of ] [-b ]... [-w ]... [-r {nearest|bilinear|cubic|cubicspline|lanczos|average}] [-threads {ALL_CPUS|}] [-bitdepth ] [-nodata ] [-spat_adjust {union|intersection|none|nonewithoutwarning}] [-co =]... [-q] (DESCRIPTION) gdal_pansharpen (pan-sharpening) . "" ( GeoTIFF) VRT . Pansharpened VRT . : gdal_pansharpen GDAL (GDAL Python bindings) . : "gdal": gdal raster pansharpen . --help --help-general GDAL . -of . . . VRT . -b band . 1 . -b . -b . -w (pseudo panchromatic). -w . -r {nearest|bilinear|cubic|cubicspline|lanczos|average} (resampling). cubic . -threads {ALL_CPUS|} (threads) . ALL_CPUS . -bitdepth ( 12). NBITS . -nodata nodata . . . -spat_adjust {union|intersection|none|nonewithoutwarning} (extent) . SpatialExtentAdjustment Pansharpened VRT . union . -co = . GeoTIFF (tiled) . . --format . Raster drivers . -q . ( ). [,band=] . band . (num) . . () . (RETURN STATUS CODE) 0 ( ). (EXAMPLES) : gdal_pansharpen panchro.tif multispectral.tif pansharpened_out.tif : gdal_pansharpen panchro.tif multispectral.tif,band=3 multispectral.tif,band=2 multispectral.tif,band=1 pansharpened_out.tif : gdal_pansharpen panchro.tif band1.tif band2.tif band3.tif pansharpened_out.tif : gdal_pansharpen -w 0.7 -w 0.2 -w 0.1 panchro.tif multispectral.tif pansharpened_out.tif : RGB RGBNir RGBNir gdal_pansharpen -b 1 -b 2 -b 3 panchro.tif rgbnir.tif pansharpened_out.tif (AUTHOR) Even Rouault (COPYRIGHT) 1998-2026 August 18, 2026 GDAL_PANSHARPEN(1)