问题描述
在规格中,
我们知道,当我们这样编写代码时,
As we know, when we code like this,
CGImageRef screenImage = UIGetScreenImage();
CGRect fullRect = [[UIScreen mainScreen] applicationFrame];
CGImageRef saveCGImage = CGImageCreateWithImageInRect(screenImage, fullRect);
saveCGImage的大小为(320,480),我的问题是iPhone 4怎么样?那是(640,960)吗?
the saveCGImage will have size (320,480), my question is how about iPhone 4 ? Is that (640,960) ?
如果以这种方式进行编码,则打开Photo.app时,另一个问题是关于拇指视图中的黑色图像
Another question is about black image in thumb view when you open Photo.app if coding like this,
CGImageRef saveCGImage = CGImageCreateWithImageInRect(screenImage, CGRectMake(0,0,320,460)); // please note, I used 460 instead of 480
问题是,当打开"Photo.app"时,在拇指视图中,这些图像显示为黑色,单击以查看详细信息是可以的.现在对此问题有解决方案吗?
The problem is that when open "Photo.app", in the thumb view, those images are view as black, when clicking it to see details, that is okay.Any solution for this issue now ?
感谢您的宝贵时间.
更新问题:
当您调用UIGetScreenImage()来捕获iPhone 4中的屏幕时,也是320x480吗?
When you invoke UIGetScreenImage() to capture screen in iPhone 4, is that also 320x480 ?
推荐答案
来自 Falk Lumo :
- 5.0 Mpixels(2592 x 1936)
- 1/3.2背照式CMOS传感器
- 4:3的宽高比
- 35毫米胶片相机的裁切系数:7.64
- 低ISO 80(或更高)
- 3.85毫米镜头焦距
- f/2.8镜头光圈
- 自动对焦:点按即可对焦
- 5.0 Mpixels (2592 x 1936)
- 1/3.2" back-illuminated CMOS sensor
- 4:3 aspect ratio
- 35 mm film camera crop factor: 7.64
- Low ISO 80 (or better)
- 3.85 mm lens focal length
- f/2.8 lens aperture
- Autofocus: tap to focus
等效的35mm胶片相机和镜头:
Equivalent 35mm film camera and lens:
- 30毫米f/22
这篇关于iPhone 4相机拍摄的照片的分辨率是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!