Added function to generate EPS images: 12 and 16 bits