GDALCOMPARE(1) GDAL GDALCOMPARE(1) (NAME) gdalcompare - (SYNOPSIS) gdalcompare [--help] [--help-general] [-dumpdiffs] [-skip_binary] [-skip_overviews] [-skip_geolocation] [-skip_geotransform] [-skip_metadata] [-skip_rpc] [-skip_srs] [-sds] (DESCRIPTION) gdalcompare GDAL . . . . GDAL ( ) . : gdalcompare GDAL (Python bindings) . --help --help-general GDAL . -dumpdiffs 3.8 . TIFF . -skip_binary 3.8 . . -skip_overviews 3.8 . (overviews) . -skip_geolocation 3.8 . GEOLOCATION . -skip_geotransform 3.8 . geotransform . -skip_metadata 3.8 . . -skip_rpc 3.8 . (RPC) . -skip_srs 3.8 . (SRS) . -sds (subdatasets) . (golden file) . (new file) . gdalcompare ( ) : from osgeo_utils import gdalcompare. gdalcompare.compare_db() gdal.Dataset gdal.Dataset ( ) . gdalcompare.compare_sds() . (EXIT STATUS) 0 ( ). (EXAMPLES) gdalcompare -dumpdiffs N.tiff S.tiff; echo $? Files differ at the binary level. Band 1 checksum difference: Golden: 36694 New: 40645 Pixels Differing: 1509 Maximum Pixel Difference: 255.0 Wrote Diffs to: 1.tif Differences Found: 2 2 gdalcompare N.tiff N.tiff; echo $? Differences Found: 0 0 (AUTHORS) Frank Warmerdam (COPYRIGHT) 1998-2026 August 18, 2026 GDALCOMPARE(1)