Clip raster layers by vector mask with All-Touched boundary control and detailed pixel statistics.
Raster Clipper lets you clip any raster layer using a vector boundary (SHP, GPKG, or any
loaded vector layer) with fine-grained pixel-inclusion control.
Key features:
• All Touched mode — include every pixel that even touches the boundary,
not just pixels whose centre falls inside (uses GDAL CUTLINE_ALL_TOUCHED).
• Temporary file support — clip directly to an auto-generated temp path;
no need to choose an output file for quick exploratory work.
• Detailed pixel statistics — WIDTH_IN_PIXELS, HEIGHT_IN_PIXELS,
TOTAL_PIXEL_COUNT, NODATA_PIXEL_COUNT, and VALID_PIXEL_COUNT per band,
displayed in a styled dark terminal panel after every clip.
• Auto-loads the clipped result into the QGIS canvas.
• GeoPackage-aware — correctly resolves |layername= source paths.
• Robust nodata detection — handles float NaN, integer overflow, and
cases where GDAL does not write nodata metadata to the output file.
Built with pure GDAL (gdal.WarpOptions) for maximum compatibility.
Plugin Tags