How to check if a file is a valid raster image? Valid in the sense of not being corrupt, the file record is complete. The GIS corollary to "zip --test somefile.zip" to test if an archive's integrity is intact.
An example of where this would be useful: have just batch processed 500 geotiff files, losslessly compressing and adding overviews, and would like to verify resultant files are not broken before removing originals.
I'm partial to gdal in this context, because it works better on the command line, but Arcgis solutions are welcome too.