generate pix