Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在开发一个应用程序,它通常使用设备的相机并使用应用程序本身的一些迷你图像。在显示图像时,它会从我的应用程序中生成低质量的照片。有没有办法让图像看起来更清晰,或者我可以让它成为高分辨率图像?非常感谢你们。
我不确定你是如何在你的应用程序中捕捉图像的,但如果你使用的是,AVCaptureSession你可以像这样改变质量:
AVCaptureSession
session = [[AVCaptureSession alloc] init]; session.sessionPreset = AVCaptureSessionPresetMedium; //change this preset here for different quality