2011-06-29 43 views
1

我正在开发能够拍摄快照的传真客户端。它通过Web服务调用与服务器通信。有没有办法降低图像分辨率,以便我们可以更快地上传和下载?现在用户必须等待50秒才能发生任何事情。如何以编程方式使用相机拍摄低分辨率快照?

这是我目前使用的代码:

- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)img editingInfo:(NSDictionary *)editInfo { 
    [image setImage:img]; 
    [[picker parentViewController] dismissModalViewControllerAnimated:YES]; 


} 
+0

不能你按比例缩小图片? –

回答

相关问题