简体   繁体   English

在Swift中将叠加效果从psd转换为UIImage

[英]Convert overlay effect from psd to UIImage in Swift

I have a .psd file with an Overlay effect logo. 我有一个带有叠加效果徽标的.psd文件。 When I export to png, I get a white logo and can't transfer the effect. 导出为png时,出现白色徽标,无法转移效果。 Tried to blur in Swift but it doesn't show the same effect. 试图在Swift中模糊处理,但效果不一样。 How can I implement the same effect using Swift ? 如何使用Swift实现相同的效果?

Photoshop Effect: Photoshop效果:

Photoshop叠加效果

Logo in iOS Project: iOS项目中的徽标:

iOS专案

Check out the UIVisualEffectView . UIVisualEffectView Also a good tutorial can be found here 这里也可以找到很好的教程

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM