Da_sily , You wont believe this. I made a program and the image that comes out of the above code is a bit not clear-slightly blured.
My boss is not happy-says he wanted a quality similar to the the photo editor jpeg conversions!!!!

Looks like a nightmare come true!


Is there a way i can get good qquality image /improve the resolution of the image?

Thanks and sorry to trouble again.

You've been of great help .
Regards,
LXS