NSString pth = [[NSBundle mainBundle] pathForResource:@"1" ofType:@"jpg"]; NSData data = [NSData dataWithContentsOfFile:pth]; 取出的data.length = 895543
NSData *mData = UIImageJPEGRepresentation(self, 1); 取出的mData.length = 1489397