Re: iphone large image downloading

2010-08-19 Thread Shazron Abdullah
Write the image data to disk as it comes in instead of putting in a NSData, so that you don't need to put it all in memory. Use NSFileHandle:writeData. On 2010-08-19, at 5:48 AM, SanthoshKumarGundu wrote: > Hi all, > > I have modified my code to send asynchronous request using the below > > NS

Re: iphone large image downloading

2010-08-19 Thread Mike Abdullah
On 19 Aug 2010, at 13:48, SanthoshKumarGundu wrote: > Hi all, > > I have modified my code to send asynchronous request using the below > > NSURLConnection *conn = [[NSURLConnection alloc] initWithRequest: >[NSURLRequest > requestW

Re: iphone large image downloading

2010-08-19 Thread SanthoshKumarGundu
Hi all, I have modified my code to send asynchronous request using the below NSURLConnection *conn = [[NSURLConnection alloc] initWithRequest: [NSURLRequest requestWithURL:

Re: iphone large image downloading

2010-08-11 Thread David Duncan
On Aug 11, 2010, at 3:31 PM, Dave Camp wrote: > The UIImage class docs indicate you shouldn't create images larger than 1024 > x 1024. You will either need to make sure your server will never send down an > image larger than that, or download the image and downsample it to a > reasonable size.

Re: iphone large image downloading

2010-08-11 Thread Dave Camp
The UIImage class docs indicate you shouldn't create images larger than 1024 x 1024. You will either need to make sure your server will never send down an image larger than that, or download the image and downsample it to a reasonable size. Dave On Aug 11, 2010, at 12:46 AM, SanthoshKumarGundu

Re: iphone large image downloading

2010-08-11 Thread David Duncan
On Aug 11, 2010, at 12:46 AM, SanthoshKumarGundu wrote: > Can any one have an idea of what is the maximum image limit(size and > resolution) in iphone?. > > There are some images in web server. In my application , I am getting these > as NSData (one image at a time) and displaying the ima

iphone large image downloading

2010-08-11 Thread SanthoshKumarGundu
Hi, Can any one have an idea of what is the maximum image limit(size and resolution) in iphone?. There are some images in web server. In my application , I am getting these as NSData (one image at a time) and displaying the image using the following code NSData *imageData = [[NSD