I understand the need of image compression while downloading images when connected to a 3G network, but I am getting really bad looking images… I’m caching downloaded images and I realized that the quality of the images depends on the active connection. My code:
KTMember *member = [[DataManager sharedManager] getMemberWithId:memberId];
if (member) {
NSLog(@"caching member %d locally",member.memberId);
memberImg = [UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:member.imageUrl]]];
[[DataManager sharedManager] saveImageToDocuments:memberImg withId:memberId];
return memberImg;
} else {
return nil;
}
So the question is – is there any way of overriding the image compression even though the active network is 3G?
Thanks
There is no global mechanism that adaptively increases image compression for slow connections. What you describe would require custom code on the server, and would vary from server to server.
What service is providing these images?