tags:

views:

80

answers:

2

hi, i am new to iphone SDK.i am getting image like

UIImage *image = [[UIImage alloc] initWithData:[NSData dataWithContentsOfURL:[NSURL   URLWithString:@"http://www.google.com/1.jpg"]]];

but how can i reduce height and width without using UIImageview?

A: 

You mean without having to use a user visible component, ie using code only? Take a look at this entry which talks a lot about resizing UIImages.

Martin Wickman
A: 

This question is very close to yours and either my answer or lostInTransit's there should do what you want.

Brad Larson