Placing raw capture data into an image file