now trying to convert RGB from glreadpixels to YUV to write in iplimage. Still not working