透明度 [英] Transparency

查看:99
本文介绍了透明度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,我有一幅中间有白色背景和蓝色的图片,以及一个包含它的图片框.我可以使图片中的白色部分透明吗(表单具有背景图像,我想查看表单图像是否以

Hello I have a picture with white background and blue in the middle and a picturebox that contains it.Can I make the white part from the picture transparent (the form has a background image and I want to see the form image thought the white part)?

推荐答案

是的.您可以使用TransparencyKey 属性在Windows窗体中使颜色看起来透明.

但是我建议为此使用透明"图像,因为大多数情况下使用TransparencyKey图像看起来很奇怪.在使用此功能之前,请先使用Photoshop来使白色部分透明.
Yes.. .You can use TransparencyKey property to have a color look transparent in windows form..


But I recommend to use Transparent image for this, as most of the times the image looks odd using TransparencyKey. Use Photoshop to make the white portion transparent before using this.


FYI,GIMP(GNU图像处理程序等)可用于编辑图像并添加透明度.与PhotoShop相比,它的优势在于它是免费的. Paint.NET也可能具有透明度,但是我不确定.只是想我会把它添加到前一个人所说的话中,因为大多数人并没有随便摆放PhotoShop的副本.
FYI, GIMP (GNU Image Manipulate Program... or something like that) can be used to edit images and add transparency. The advantage it has over PhotoShop is that it''s free. Paint.NET might also do transparency, but I''m not sure. Just thought I''d add that to what the previous person said, as most people don''t have a copy of PhotoShop just laying around.


Corel Draw也有可能.看看http://www.tektips.com/viewthread.cfm?qid=1148948&page=20
It is possible with Corel Draw too.Look at http://www.tektips.com/viewthread.cfm?qid=1148948&page=20


这篇关于透明度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆