Exporting non-rectangular raster

Discussion created by apmcclune on Jun 13, 2013
Latest reply on Jun 13, 2013 by Dan_Patterson
Is there a way to export a raster but keep the original shape of the raster instead of export the image extent as well? I am extracting buildings from orthoimagery using building footprints. Some of the footprints are diagonally orientated so when I export the raster, for example to a .tif file, I obtained a rectangular footprint instead of the shape of the building footprint. I am then using this for further processing in MATLAB but the extra data and no data values around the image are causing data issues in MATLAB. I have tried other data formats but getting the same results.

I have also tried to use the Selected Graphics (Clipping) option in the Export Raster Data menu, but this option is greyed out on my option. I am unclear if this means use selected shapefiles to extract the data or features have to be selected in the Raster dataset to be extracted.