Refine image initilization.