按钮上的透明İmage [英] Transparent İmage on Button
本文介绍了按钮上的透明İmage的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在编程西洋双陆棋.但是我无法显示透明图像.
我的图片在按钮和图片框上的按钮中.
但是,我会得到这张图片. http://g1207.hizliresim.com/z/7/9gj1l.jpg [ ^ ]
请帮帮我.我该怎么办?
I''m programming Backgammon.But I could not transparent image.
My image in the Button and Button on picturebox.
But, I would get this image. http://g1207.hizliresim.com/z/7/9gj1l.jpg[^]
Please help me.How can I do?
推荐答案
不要将JPG文件用作您的图像-它们不支持透明度.而是使用PNG格式或类似的格式.
Don''t use a JPG file as your image - they do not support transparency. Instead use PNG format or similar which does.
使用PNG或GIF格式.您可以使用 Iaza [
Use PNG or GIF format. You can use Iaza[^] to create transparent gif/png online.
使用Adobe Photoshop创建PNG图像.创建新图像时,选择其背景为透明.
Create a PNG image using Adobe Photoshop. When creating a new image select it''s background as transparent.
这篇关于按钮上的透明İmage的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文