[PD] GEM writing pix to image files