Add UIView category method for to get a snapshot image.