i dont know how to write the img data into the csv. From my understanding, i can write the image data in the csv if i use the base-64 format in the response object..let me try
Joined: Mar 22, 2005
CSV is ill-suited to handle large data items like an ASCII-encoded image. A better way might be to store the image separately, and just put the name of the image file in the CSV, so that an application reading the CSV can find it. That way you wouldn't need to encode the image, too, thus making it usable as it is (which it wouldn't be if encoded).