Mark, this is for downloading from server. so i am using http. but i need to show it in a particular size on the device. i just got some code for resizing an image. btw... i need to know that when we can display a jpg image why do we go in for the png format.