converting image to byte[] in cldc, midp2.0 devices