take a UIImage of a specific rect of a view