I have a rasterised layer of a riverbed, which has been imported into QGIS with the exact dimensions I need (pictured)
The areas of no data have been filled using GDAL's 'fill nodata' tool.
Now, GDAL also fills the outer edges of the layer, therefore extending the size of the riverbed.
I have attempted to crop the filled layer to the size of the original rasterised layer by using the 'Clip raster by extent tool' (see attached), but it is not cropping the filled layer - it stays the same.
Can anyone tell me why the filled layer is not cropping and/or if there are any alternatives so I can achieve the original rasterised scan size?


