allow image formatting

previous commit worked in light field