Allow configuration of pix format and output size