transform3d视差_如何为您的iPhone或iPad创建3D“视差”壁纸

transform3d视差

transform3d视差

parallax

If you own an iPhone or iPad, then you’ve probably noticed a 3D effect on some wallpapers, where it seems like your home screen icons are hovering over the top. You can actually do this with almost any image without special software.

如果您拥有iPhone或iPad,那么您可能已经注意到某些墙纸具有3D效果,好像您的主屏幕图标悬停在顶部。 实际上,几乎不需要任何特殊软件就可以对任何图像进行此操作。

The wallpaper we’re talking about is called parallax wallpaper, but on your iOS device, Apple refers to it as “perspective” wallpaper. Either way, you likely think of it as 3D. Parallax wallpapers work by zooming in on an image a bit, so there is a little bit of the image outside viewable area. That way, when you change perspective, it can “move” the wallpaper in a way that makes it appear 3D.

我们所说的壁纸称为视差壁纸,但是在您的iOS设备上,Apple将其称为“透视”壁纸。 无论哪种方式,您都可能将其视为3D。 视差壁纸通过稍微放大图像来工作,因此图像的一部分在可视区域之外。 这样,当您更改透视图时,它可以“移动”墙纸的方式使其显示为3D。

ezgif-4005175863

You can do this with any wallpaper, but if you do it with one that’s exactly the resolution of your screen, it won’t look as good as possible, since it’ll be zooming in on the image. If you want to obtain the best results for your parallax wallpaper, you may need to manually resize or crop your images manually to the right size.

您可以使用任何墙纸来执行此操作,但是如果使用的分辨率恰好与屏幕的分辨率相同,则它将看起来不太好,因为它将放大图像。 如果要为视差墙纸获得最佳效果,则可能需要手动调整大小或将图像手动裁剪为合适的大小。

It’s important to understand that every device is different, each has its own screen size and as such, have specific wallpaper dimensions in order to achieve a true parallax effect. Below are the required image sizes for parallax wallpaper on most of Apple iOS devices:

重要的是要了解每个设备都是不同的,每个设备都有自己的屏幕尺寸,因此具有特定的墙纸尺寸才能达到真正的视差效果。 以下是大多数Apple iOS设备上视差壁纸所需的图像尺寸:

iPhone

苹果手机

For an iPhone 4s: Screen: 960 x 640 Parallax Wallpaper: 1196 x 740

对于iPhone 4s:屏幕:960 x 640视差壁纸:1196 x 740

For an iPhone 5, 5C & 5S, as well as iPod Touch 5th generation: Screen: 1136 x 640 Parallax Wallpaper: 1392 x 744

对于iPhone 5、5C和5S以及iPod Touch第5代:屏幕:1136 x 640视差壁纸:1392 x 744

For an iPhone 6 and 6s: Screen: 1334 x 750 Parallax Wallpaper: 1608 x 852

对于iPhone 6和6s:屏幕:1334 x 750视差壁纸:1608 x 852

For an iPhone 6 Plus and 6s Plus: Screen: 1920 x 1080 (downsampled from 2208 x 1242) Parallax Wallpaper: 2662 x 2662

对于iPhone 6 Plus和6s Plus:屏幕:1920 x 1080(从2208 x 1242降采样)视差壁纸:2662 x 2662

iPad

的iPad

For an iPad 2nd gen & iPad mini Screen: 1024 x 768 Parallax Wallpaper: 1262 x 1262

对于iPad第二代和iPad mini屏幕:1024 x 768视差壁纸:1262 x 1262

For an iPad 3rd & 4th gen; iPad Air; iPad mini with Retina display Screen: 2048 x 1536 Parallax Wallpaper: 2524 x 2524

对于第三代和第四代iPad; iPad Air; 配备Retina显示屏的iPad mini屏幕:2048 x 1536视差壁纸:2524 x 2524

Once you know your device’s wallpaper needs, it’s time to resize your image so that it conforms to the parallax requirements. First, find an image you want to use for your device background. The best results will come from original images that are bigger than the final product. This usually isn’t a problem with today’s camera’s high megapixel counts.

知道设备墙纸的需求之后,就该调整图像大小以使其符合视差要求了。 首先,找到要用于设备背景的图像。 最好的结果将来自比最终产品大的原始图像。 对于当今相机的高百万像素数来说,这通常不是问题。

Try searching Google Images for wallpapers, then clicking on Search Tools > Size and picking a size larger than the “Parralax Wallpaper” dimensions for your device listed above.

尝试在Google图片中搜索壁纸,然后单击搜索工具>尺寸,然后为上面列出的设备选择一个大于“视差壁纸”尺寸的尺寸。

screenshot.1

Next, we need to crop it. We’re going to go ahead and do this on a Mac using Preview, but you could do it just as well on a Windows PC using Photoshop or any other photo editing application.

接下来,我们需要裁剪它。 我们将继续在Mac上使用Preview进行此操作,但是您也可以在Windows PC上使用Photoshop或任何其他照片编辑应用程序进行此操作。

Opening our image, we know that in order to fit it on our iPhone 6s, it needs to be 1608 x 852. Our original photo is 3024 x 4032. We will have to resize it enough to fit the photo within our dimensions, which we’ll need to crop to fit.

打开我们的图像,我们知道为了使其适合我们的iPhone 6s,它的尺寸必须为1608 x852。我们的原始照片为3024 x4032。我们将必须对其进行足够的调整以使其适合我们的尺寸。需要适应作物。

Cropping it should then be really easy because the subject of our photo fits easily within our cropped area.

裁剪起来应该真的很容易,因为我们照片的主题很容易适合我们的裁剪区域。

Finally, save your image as a new file. You don’t want to overwrite the old one.

最后,将图像另存为新文件。 您不想覆盖旧的。

The next step is to transfer it to your device, be it an iPhone or iPad. With a Mac, this is as easy as using AirDrop, or you can add it to Photos and it will be synced via iCloud.

下一步是将其传输到您的设备,无论是iPhone还是iPad。 对于Mac,这就像使用AirDrop一样容易,或者您可以将其添加到“照片”中,并且将通过iCloud进行同步。

With a Windows PC, it’s best to use the Photos app on the iCloud site. To do this, first log into your iCloud account, then click the Photos icon. Once you’re in Photos, click “Upload” at the top.

对于Windows PC,最好在iCloud网站上使用“照片”应用程序 。 为此,请首先登录您的iCloud帐户,然后单击“照片”图标。 进入照片后,点击顶部的“上传”。

Once you upload your new parallax wallpapers, they’ll be synced to your iPhone or iPad and you can then set them as your home and/or lock screen.

一旦您上传了新的视差壁纸,它们就会同步到您的iPhone或iPad,然后您可以将它们设置为主屏幕和/或锁定屏幕。

The last thing you will then do is set your new wallpaper as Perspective, not Still.

然后要做的最后一件事是将新墙纸设置为Perspective,而不是Still。

img_57053b54e4076

If you did everything correctly, your new background image should now have that cool 3D effect. As we said, you can do this with just about any image though again, you really want to start out with something that is bigger than the final product. If you have to increase the size of your image, then you’re probably not going to be happy with the result.

如果您正确执行了所有操作,则新的背景图像现在应该具有很酷的3D效果。 就像我们说过的那样,您几乎可以使用任何图像来完成此操作,您真的想从比最终产品更大的东西开始。 如果必须增加图像的大小,那么您可能会对结果不满意。

Don’t be afraid to play around and see which images work best for you. Practice makes perfect and you’re far more likely to get the kind of result you want if you resize your images manually.

不要害怕玩耍,看看哪些图像最适合您。 练习非常完美,如果手动调整图像大小,您将更有可能获得所需的结果。

翻译自: https://www.howtogeek.com/227101/how-to-create-3d-parallax-wallpapers-for-your-iphone-or-ipad/

transform3d视差

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值