the shadowmapper from AU has such a feature (works perfectly), in the wiki there's a code to save a tga file (didn't get it to work properly).