将白色背景变成透明,但保持阴影?
在这样的图像中,我想删除白色背景但保留阴影的灰色。删除实际图像的映射不是问题!
In an image like this, I want to remove the white background but keep the grayness of the dropshadow. Reomving mapping the actual image is not a problem!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
这就是我经过大量尝试和错误后最终所做的事情。
复制其中包含纸张的图层。
反转新图层。
将“纸张部分”涂成透明白色
使用反转层作为第一层上的蒙版。
就像魅力一样,完美的遮盖!
This is what I enden up doing instead after lots and lots of trial and error.
Duplicate the layer with the paper in it.
Invert the new layer.
Painting the "paper-part" clear white
Using the inverted layer as a mask on the first layer.
Worked like a charm, perfect masking!
我能想到的两个选择:
a) 在Photoshop中编辑图像并使背景透明。
b) 用具有白色背景的 div 覆盖层覆盖“白色”背景。
a 是首选选项。如果您需要我为您做这件事,请对此回复发表评论。
Two options that I can think of:
a) Edit the image in photoshop and make the background transparent.
b) Overlay the "white" background w/ a div overlay that has a white background.
a is the preferred option. Post a comment on this reply if you need me to do this for you.
那张图片是你做的吗?为什么不把图像做成透明背景呢?
但如果你没有制作图像,我不知道你是否真的可以,除非你打算将其放在另一个白色背景上,因为阴影本身会有点透明,并且它下面的任何内容都会显示出来。
did you make that image? Why not make the image on a transparent background?
But if you didn't make the image, I don't know if you really can unless you plan on putting it on another whitish background because the dropshadow itself is going to be a little transparent and whatever is underneath it will show through.