Modified GrabCut so it only writes the alpha channel to save space.