I am trying to cut a window (in pixels) from a geotiff file and output in a different size. gdal_translate allows that but gives no option to set resampling, while gdalwarp allows resampling while it requires the src window to be in georeferenced coords.
Is there away to get the best of both. i.e. (src in pixels and using resampling)?
Thanks.