iPhone 4相机拍摄的照片分辨率是多少?

发布于 2024-09-10 10:10:18 字数 903 浏览 0 评论 0原文

在规格中,

iPhone 4 屏幕分辨率&像素 密度 * iPhone 4的屏幕分辨率为960×640像素,是iPhone 4的两倍 之前的 iPhone 型号

正如我们所知,当我们这样编码时,

CGImageRef screenImage = UIGetScreenImage();
CGRect fullRect = [[UIScreen mainScreen] applicationFrame];
CGImageRef saveCGImage = CGImageCreateWithImageInRect(screenImage, fullRect);

saveCGImage 的大小将为 (320,480),我的问题是 iPhone 4 怎么样?那是(640,960)吗?

另一个问题是当您打开 Photo.app 时拇指视图中的黑色图像,如果像这样编码,

CGImageRef 屏幕图像 = UIGetScreenImage();

CGImageRef saveCGImage = CGImageCreateWithImageInRect(screenImage, CGRectMake(0,0,320,460));  // please note, I used 460 instead of 480

问题是,当打开“Photo.app”时,在拇指视图中,这些图像显示为黑色,当单击它查看详细信息时,没关系。 现在这个问题有什么解决办法吗?

感谢您抽出时间。

更新问题:

当您调用 UIGetScreenImage() 来捕获 iPhone 4 中的屏幕时,这也是 320x480 吗?

In specs,

iPhone 4 screen resolution & pixel
density
* iPhone 4 has a screen resolution of 960×640 pixels, which is twice that of
the prior iPhone models

As we know, when we code like this,

CGImageRef screenImage = UIGetScreenImage();
CGRect fullRect = [[UIScreen mainScreen] applicationFrame];
CGImageRef saveCGImage = CGImageCreateWithImageInRect(screenImage, fullRect);

the saveCGImage will have size (320,480), my question is how about iPhone 4 ? Is that (640,960) ?

Another question is about black image in thumb view when you open Photo.app if coding like this,

CGImageRef screenImage =
UIGetScreenImage();

CGImageRef saveCGImage = CGImageCreateWithImageInRect(screenImage, CGRectMake(0,0,320,460));  // please note, I used 460 instead of 480

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 ?

Thanks for your time.

update questions:

When you invoke UIGetScreenImage() to capture screen in iPhone 4, is that also 320x480 ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

顾冷 2024-09-17 10:10:18

来自Falk Lumo

iPhone 4 主摄像头:

  • 5.0 百万像素 (2592 x 1936)
  • 1/3.2" 背照式 CMOS 传感器
  • 4:3 宽高比
  • 35 毫米胶片相机裁剪系数:7.64
  • 低 ISO 80(或更高)
  • 3.85 毫米镜头焦距
  • f/2.8 镜头光圈
  • 自动对焦:点击即可对焦

等效 35mm 胶片相机和镜头:

  • 30 毫米 f/22

From Falk Lumo:

iPhone 4 main camera:

  • 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

Equivalent 35mm film camera and lens:

  • 30 mm f/22
一袭水袖舞倾城 2024-09-17 10:10:18

iOS 设备拍摄的照片分辨率,

  • iPhone 6/6+、iPhone 5/5S、iPhone 4S(8 MP) - 3264 x
    2448 像素

  • iPhone 4、iPad 3、iPodTouch(5 MP) - 2592 x 1936 像素

  • iPhone 3GS(3.2 MP) - 2048 x 1536 像素

  • iPhone 2G/3G(2 MP) - 1600 x 1200 像素

Photo resolution taken by iOS devices,

  • iPhone 6/6+, iPhone 5/5S, iPhone 4S(8 MP) - 3264 x
    2448 pixels

  • iPhone 4, iPad 3, iPodTouch(5 MP) - 2592 x 1936 pixels

  • iPhone 3GS(3.2 MP) - 2048 x 1536 pixels

  • iPhone 2G/3G(2 MP) - 1600 x 1200 pixels

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文