adding image_raw option