Hi, Does anybody know of an open source code for subsetting an image with an area of interest of arbitrary shape. I know GDAL utility offers one function for subsetting an image by a rectangle. Thanks Xiaodong