Split image activity and image processing