digital to analog image conversion now seems to work