iPhone 中图像的大小

发布于 2024-08-14 08:00:38 字数 159 浏览 2 评论 0原文

从我们的电脑保存到 iPhone 时,图像的大小(尺寸和图像存储大小)会发生变化吗?我通过 safari 将 100kB 大小的图像(1200x1600)保存到 iphone 模拟器中。在我的应用程序中,我将其尺寸更改为 640x480 并上传到服务器。但上传的图片大小为144KB! 这是怎么发生的?

Will the size of the (dimensions and also image storage size) change whensaving to iphone from our computer. I saved an image(1200x1600) of 100kB size to the iphone simulator via safari. From my application, i changes itsdimension to 640x480 and uploaded to server. But the uploaded image was of size 144KB!!!
How does this happen??

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

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

发布评论

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

评论(1

绝情姑娘 2024-08-21 08:00:38

存储到模拟器或设备上的 iPhone 相册中的任何图像都将为 640x480。在任何情况下,3GS 上的相机捕获的图像均为 1200x1600 左右。当您将照片同步到 iPhone 时,照片的大小也会调整为 640x480。如果您使用网络服务来获取图片,可能就不会受到该限制,但我还没有尝试过。

大小差异可能是由于图片格式所致,即是否为gif/jpg/png?

Any image stored to the iPhone Photo albums on simulator or device will be 640x480. Images captured from the camera on 3GS in any case will 1200x1600 or there about. When you sync photos up to iPhone pictures are resized to 640x480 too. If you used a web service to get a picture there probably wouldn't be that restriction, but I haven't tried that.

The difference in size may be due to the picture format i.e. whether gif/jpg/png?

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