﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-漫步者-文章分类-UI</title><link>http://www.cppblog.com/Walker/category/16850.html</link><description>先学会转文章，在仔细读文章，最后自己写点东西........</description><language>zh-cn</language><lastBuildDate>Sun, 08 May 2011 16:29:37 GMT</lastBuildDate><pubDate>Sun, 08 May 2011 16:29:37 GMT</pubDate><ttl>60</ttl><item><title>UI特点</title><link>http://www.cppblog.com/Walker/articles/145977.html</link><dc:creator>漫步者×&amp;……%￥</dc:creator><author>漫步者×&amp;……%￥</author><pubDate>Sun, 08 May 2011 13:30:00 GMT</pubDate><guid>http://www.cppblog.com/Walker/articles/145977.html</guid><wfw:comment>http://www.cppblog.com/Walker/comments/145977.html</wfw:comment><comments>http://www.cppblog.com/Walker/articles/145977.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/Walker/comments/commentRss/145977.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Walker/services/trackbacks/145977.html</trackback:ping><description><![CDATA[<dl>
<dt>1.内部没有完全采用HOOK拦截窗口的机制，主要采用子类化控件，修改窗口过程函数的方式进行换肤。但是内置HOOK，可以动态设置HOOK，保证了SKINSE在整理构架上的灵活性。
<p>2.内置DirectUI绘制思想，将界面绘制元素抽象成图片、文本、矩形区域、线条、动画，并且内置EventItem、DrawItem绘制机制。可以将这些绘制元素以及绘制机制组合开发，实现按钮、单选框、复选框、分组框、Tab控件、动画控件等界面控件。</p>
<p>3.提供了非常丰富的API接口，最大限度的让SKINSE界面库更加透明化、个性化，让SKINSE界面库的使用范围得到最大延伸。</p>
<p>4.在子类化进行控件换肤的时候，尽量不修改控件的默认属性，最大程度地兼容window标准控件的默认属性。比如，目前市场上很多界面库在绘制窗口标题栏的时候，去掉了窗口的WS_CAPTION属性， 导致GetClientRect、GetWindowRect方法失效，从而加大了界面开发和设计的难度，当然也导致不能完美支持SDI/MDI等界面框架。</p>
<p>5.提供了界面控件动态布局的特性。省去了程序开发中最为繁琐的窗口控件位置的调整。只需要调整一下XML配置属性，就可以进行完美布局。</p>
<p>6.支持BMP、ICO、PNG、JPG等图片格式，支持皮肤色调变换，提供SKINSE内部的图像引擎接口。</p>
<p>7.支持SDI、MDI等界面框架，支持20余种界面控件，完整兼容window 2000、window2003、window XP、vista、window7当前的主流操作系统。并且支持window平台的多种计算机语言开发。</p>
</dt></dl>
<img src ="http://www.cppblog.com/Walker/aggbug/145977.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Walker/" target="_blank">漫步者×&……%￥</a> 2011-05-08 21:30 <a href="http://www.cppblog.com/Walker/articles/145977.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Alpha 通道 </title><link>http://www.cppblog.com/Walker/articles/145933.html</link><dc:creator>漫步者×&amp;……%￥</dc:creator><author>漫步者×&amp;……%￥</author><pubDate>Sun, 08 May 2011 02:52:00 GMT</pubDate><guid>http://www.cppblog.com/Walker/articles/145933.html</guid><wfw:comment>http://www.cppblog.com/Walker/comments/145933.html</wfw:comment><comments>http://www.cppblog.com/Walker/articles/145933.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/Walker/comments/commentRss/145933.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Walker/services/trackbacks/145933.html</trackback:ping><description><![CDATA[<div class=sect1>
<div class=titlepage>
<div>
<h1 style="CLEAR: both" class=title><a name=alpha_channel_glossary></a>Alpha 通道 </h1>
</div>
</div>
<div class=mediaobject><img src="http://school.3dmax8.com/cankao/3dsmax_web/graphics/ill_alpha.gif">
<div class=caption><a name=d0e327653></a>
<p class=BodyCaption>Alpha 通道以黑色显示在右侧</p>
</div>
</div>
<p class=Body><a name=d0e327656></a>Alpha 是出现在 32 位位图文件中的一类数据，用于向图像中的像素指定透明度。 </p>
<p class=Body><a name=d0e327658></a>24 位真彩文件包含三种颜色信息通道：红、绿和蓝或<a title=红、绿、蓝/色调、饱和度、值 href="http://school.3dmax8.com/cankao/3dsmax_web/red_green_blue_hue_saturation_value_glossary.html"><u><font color=#0000ff> RGB</font></u></a>。每个通道在各个像素上都拥有具体的强度或值。每个通道的强度决定图像中像素的颜色。 </p>
<p class=Body><a name=d0e327663></a>通过添加第四种 alpha 通道，文件可以指定每个像素的透明度或不透明度。alpha 的值为 0 表示透明，alpha 的值为 255 则表示不透明，在此范围之间的值表示半透明。透明度对于<a title=合成 href="http://school.3dmax8.com/cankao/3dsmax_web/composite_glossary.html"><u><font color=#0000ff>合成</font></u></a>操作是至关重要的，如在 Video Post 中，位于各个层中的几个图像要混合在一起。 </p>
<p class=Body><a name=d0e327671></a>对于所渲染图像中对象的<a title=锯齿/抗锯齿 href="http://school.3dmax8.com/cankao/3dsmax_web/aliasing_antialiasing_glossary.html"><u><font color=#0000ff>锯齿</font></u></a>边缘周围部分透明的像素，alpha 通道特别有用。这些像素用于合成。如果生成 alpha 通道，并且与图像一同保存，那么类似于上述形式的图像可以平滑地合成到不同的背景中。 </p>
<p class=Body><a name=d0e327676></a>真彩位图文件的每个通道都定义为 8 位，可以提供 256 个级别的强度。因此，一个 RGB 文件是 24 位的，具有 256 个级别（都带有红、绿和蓝）。RGBA 文件（红、绿、蓝、alpha）是 32 位的，具有额外的 8 位 alpha，可以提供 256 个级别的透明度。 </p>
<p class=Body><a name=d0e327678></a><strong>3ds max</strong> 可以在渲染时自动创建 alpha 通道。所渲染图像中的背景像素是完全透明的，alpha 通道也可以说明通过材料等对象创建的任何其他透明度。通过单击工具栏上的&#8220;显示 Alpha 通道&#8221;按钮，可以在<a title=渲染帧窗口 href="http://school.3dmax8.com/cankao/3dsmax_web/rendered_frame_window.html"><u><font color=#0000ff>渲染帧窗口</font></u></a>中看到这种情况：在生成的显示中，黑色像素是完全透明的，白色像素是不透明的，而灰色像素则显示透明度。要返回到常规显示，再次单击&#8220;显示 Alpha 通道&#8221;即可。 </p>
<p class=Body><a name=d0e327684></a>要输出带有 alpha 的渲染图像，请以 alpha 兼容的格式进行保存，如 TIFF 或 Targa。如果使用 Targa，默认设置将包含保存 alpha；如果使用 TIFF，请确保打开&#8220;存储 Alpha 通道&#8221;复选框。 </p>
<br><br>
<table border=0 cellSpacing=0 cellPadding=0 width="100%">
    <tbody>
        <tr>
            <td width="100%">
            <p class=maintitle>Create a Transparent Image with Adobe Photoshop&#174;</p>
            </td>
        </tr>
    </tbody>
</table>
<p class=Normal1>All <a href="http://www.axialis.com/" target=_blank><u><font color=#0000ff>Axialis Software</font></u></a> products support images with Alpha Channel transparency. PNG, BMP and PSD file format actually support alpha channel. If you want to create a nice icon (using <a href="http://www.axialis.com/iconworkshop/" target=_blank><u><font color=#0000ff>Axialis IconWorkshop&#8482;</font></u></a>) or a screensaver with smooth sprites (using <a href="http://www.axialis.com/ssp/" target=_blank><u><font color=#0000ff>Axialis Professional Screen Saver Producer</font></u></a>) we recommend you to use images with Alpha channel.</p>
<p class=Normal1>Alpha channels are masks through which you can display images. The alpha channel is an 8-bit channel, which means it has 256 levels of gray from 0 (black) to 255 (white). White acts as the visible area; black acts as the transparent area (you see the background behind the image when displayed). The level of gray in between determines the level of visibility. For example, 50 percent gray allows for 50 percent visibility. Alpha channels are usually used with 16.8M color RGB images. The resulting image is called RGBA (RGB+A, A means alpha channel). </p>
<p class=Normal1>In the illustration below you see how the alpha channel is applied to the original image to remove (visually) the orange gradient background. The result produces a 32 BPP (Bit Per Pixel) transparent image. The grey checkboard-like pattern shows the transparency of the image. </p>
<p class=Normal1 align=center><img class=img_whs4 border=0 src="http://www.cppblog.com/Walker/admin/misc/tutorial010.jpg" width=700 height=250 x-maintain-ratio="TRUE"></p>
<p class=Normal1>We'll learn how to create a transparent image with Alpha Channel from a standard image. <a href="http://www.adobe.com/products/photoshop/main.html" target=_blank><u><font color=#0000ff>Photoshop&#174;</font></u></a> contains powerful Alpha Channel manipulation features. We'll see here one of the simplest way to proceed: Extrude a part of the image and remove the existing background. Advanced techniques also exist to work with alpha channel. See Photoshop help to read more. </p>
<p class=SubTitle1>Create a Transparent Image using Adobe Photoshop&#174;</p>
<p class=TutorProcedure2><span style="FONT-WEIGHT: bold"><strong>1.</strong></span> Open your image in <a href="http://www.adobe.com/products/photoshop/main.html" target=_blank><u><font color=#0000ff>Photoshop&#174;</font></u></a> (we use version 7.0 in this tutorial). Select <strong>File/Open...</strong> Choose your file and click <strong>Open</strong>. The file open in a separate document window. You can download the original image we use in this tutorial here: <strong><a href="http://www.cppblog.com/Walker/admin/sample/logo.bmp"><u><font color=#0000ff>logo.bmp</font></u></a></strong> (right-click and choose <strong>Save Target As</strong>).</p>
<p class=TutorProcedure2><span style="FONT-WEIGHT: bold"><strong>2.</strong></span> If the file is not in RGB format (16.8 M colors), convert it: Choose <strong>Image/Mode/RGB Color</strong>.</p>
<p class=TutorProcedure2><span style="FONT-WEIGHT: bold"><strong>3.</strong></span> Now select the background area of the image (the area you wish to remove). If the image background has a solid color (white in our example), select the <strong>Magic Wand Tool (W)</strong> or click <img border=0 align=absBottom src="http://www.cppblog.com/Walker/admin/pssp/tool01.gif" width=19 height=16> in the toolbox. Be sure to specify <strong>Tolerance=10</strong>, <strong>Anti-aliased</strong> and <strong>Contiguous</strong> in the selection options (dialog box on top, under the menu). You may need to adjust the tolerance value (it depends on your image). When done, click in the background area of the image (<span style="COLOR: #d26900"><font color=#d26900><img class=img_whs3 border=0 align=textTop src="http://www.cppblog.com/Walker/tutorials/number1.bmp" width=12 height=12 x-maintain-ratio="TRUE"></font></span>):</p>
<p class=TutorProcedure2><img class=img_whs4 border=0 src="http://www.cppblog.com/Walker/admin/pssp/tutorial001.jpg" width=314 height=290 x-maintain-ratio="TRUE"></p>
<p class=TutorProcedure2><span style="FONT-WEIGHT: bold"><strong>4.</strong></span> A selection dashed-line appears around the logo and around the square border of the image. It means that the background is selected (not the logo). If the background is not made of a solid color, you can select it by using the <strong>Polygonal Lasso Tool (L)</strong> or click<strong> </strong><img border=0 align=absBottom src="http://www.cppblog.com/Walker/admin/pssp/tool02.gif" width=19 height=16>. It's a bit more difficult but that's the only way to proceed.</p>
<p class=TutorProcedure2><span style="FONT-WEIGHT: bold"><strong>5.</strong></span> Now, we'll select the logo only. To do so, choose <strong>Select/Inverse (Shft+Ctrl+I)</strong>. It's almost unchanged but the dashed-line around the square border of the image has disappeared. </p>
<p class=TutorProcedure2><span style="FONT-WEIGHT: bold"><strong>6.</strong></span> Choose <strong>Edit/Copy (Ctrl+C)</strong>, then <strong>Edit/Paste (Ctrl+V)</strong> to create a new layer with the "extruded" logo in it. The "layers" list has been updated (see below). The new layer, which is selected, appears at the top of the list (<span style="COLOR: #d26900"><font color=#d26900><img class=img_whs3 border=0 align=textTop src="http://www.cppblog.com/Walker/tutorials/number1.bmp" width=12 height=12 x-maintain-ratio="TRUE"></font></span>). The original image is present in the background (<img class=img_whs3 border=0 align=textTop src="http://www.cppblog.com/Walker/admin/number2.bmp" width=12 height=12 x-maintain-ratio="TRUE">). Now, we'll hide the original image by clicking on the "eye" button of the background layer (<span style="COLOR: #d26900"><font color=#d26900><img class=img_whs3 border=0 align=textTop src="http://www.cppblog.com/Walker/admin/number3.bmp" width=12 height=12 x-maintain-ratio="TRUE"></font></span>). If you want, you can also delete it by drag-and-drop it on the trash (at the right-bottom corner of the list).</p>
<p class=TutorProcedure2>&nbsp;<img class=img_whs4 border=0 src="http://www.cppblog.com/Walker/admin/pssp/tutorial002.jpg" width=278 height=213 x-maintain-ratio="TRUE"></p>
<p class=TutorProcedure2><span style="FONT-WEIGHT: bold"><strong>5.</strong></span> The image document now looks like shown below. The background area (which was white) has disappeared. Now you see a gray-checkboard-like texture around the logo (<img class=img_whs3 border=0 align=textTop src="http://www.cppblog.com/Walker/tutorials/number1.bmp" width=12 height=12 x-maintain-ratio="TRUE">) indicating that this area is in fact transparent. </p>
<p class=TutorProcedure2><img class=img_whs4 border=0 src="http://www.cppblog.com/Walker/admin/pssp/tutorial003.jpg" width=302 height=290 x-maintain-ratio="TRUE"></p>
<p class=TutorProcedure2><span style="FONT-WEIGHT: bold"><strong>6.</strong></span> We recommend to save the image to another file to keep the original one intact. Select <strong>"File/Save As..."</strong>. In <strong>Format</strong> box, select "PNG" (our favorite format). Please note that BMP and PSD formats also support 32 BPP / Alpha Channel. Click <strong>Save</strong>. Select Interlace: "None", click OK. </p>
<p class=TutorProcedure2><strong>7.</strong> You're done, the transparent version of your image is created. You can download the image we've created in this tutorial here: <strong><a href="http://www.cppblog.com/Walker/admin/sample/logo-ps.png"><u><font color=#0000ff>logo-ps.png</font></u></a></strong> (right-click and choose <strong>Save Target As</strong>).</p>
</div>
<img src ="http://www.cppblog.com/Walker/aggbug/145933.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Walker/" target="_blank">漫步者×&……%￥</a> 2011-05-08 10:52 <a href="http://www.cppblog.com/Walker/articles/145933.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>BMP图片透明处理</title><link>http://www.cppblog.com/Walker/articles/145932.html</link><dc:creator>漫步者×&amp;……%￥</dc:creator><author>漫步者×&amp;……%￥</author><pubDate>Sun, 08 May 2011 02:43:00 GMT</pubDate><guid>http://www.cppblog.com/Walker/articles/145932.html</guid><wfw:comment>http://www.cppblog.com/Walker/comments/145932.html</wfw:comment><comments>http://www.cppblog.com/Walker/articles/145932.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/Walker/comments/commentRss/145932.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/Walker/services/trackbacks/145932.html</trackback:ping><description><![CDATA[<div class=tit>BMP图片透明处理</div>
<div class=date>2009-04-28 09:27</div>
<table style="WIDTH: 100%; TABLE-LAYOUT: fixed">
    <tbody>
        <tr>
            <td>
            <div id=blog_text class=cnt>
            <p>Photoshop 7.0己正式支持32Bit BMP圖檔,<br>可以直接存成BMP,選擇帶Alhale通道的32 bit即可.</p>
            <p>&nbsp;</p>
            <p>BMP支持透明比较常见的方法有两种： <br>一种是32位图，直接就可以是透明的，还可以是半透明效果，一般都是用PNG转成的，或者在保存图象时选择32位。 <br>第二种就是把想透明的地方颜色设成255.255.0,但是有缺点就是不是所有软件都支持设透明色，而且软件透明部分的设定颜色也不一样，另外它不支持半透明。</p>
            <p>32位的BMP，带一个ALPHA通道，在ALPHA通道里你要的地方是白色，不要的是黑色，就可以了。不过要是用图片传真器看还是白底，但是导入到软件或者别的支持的地方就是透明的了。比如我把这个BMP导入FLASH里就是背景透明的了。</p>
            <p>用ps，选择背景图层，将不透明度设置0%就ok了</p>
            <p>1、可以在photoshop里面新建一个背景色为透明的图片，然后将你需要处理的这张图片拖到新建透明图片上面，之后用橡皮工具将其白色部分擦掉，存为GIF格式的图片即可。</p>
            <p><br>2、上面的方法较为麻烦，你如果在frontpage中插入这张图片，选中它，在编辑图片里面有个&#8220;设为透明&#8221;，点击一下其图片为白色部分为透明色</p>
            <div style="OVERFLOW-X: hidden">
            <p>Eliminate White 1.0 <br><br>这个滤镜是一个单一的滤镜，它可以将一幅白色背景的图片中<br>白色变为透明。当你想把白色背景上的物体分离出来的时候，非常<br>有用。它也可以用来制作一些有趣的效果。<br><br>如何安装:<br><br>将 elimwhit.8bf 拷贝到你的 Photoshop 的滤镜目录中即可。<br><br>如何使用:<br><br>1. 准备好一张白色背景的图片(RGB 格式)，在 "background"<br>层上双击鼠标，起名后选择OK。这一步操作将背景层转换为普通层。<br><br>2. 选择Filter -&gt; Transparency -&gt; Eliminate White，这步<br>操作将去除图像中的白色，经过这步操作后， 图像看起来饱和度降<br>低了。<br><br>3. 这是最重要的一步，选择 Layer -&gt; Matting -&gt; Remove<br>White Matte，现在，图像的饱和度复原了，并且白色背景部分变成<br>了透明。</p>
            <p>&nbsp;</p>
            <p>打开PS，把Alpha1通道定义成图案，双击背景图层，再加一个蒙板，用刚才的图案填充（直接复制粘贴不行）<br>这法也够麻烦，但是反正比导入到程序中强。<br>如果有PNG，想转成32bit BMP，用IconWorkShop</p>
            </div>
            <span style="COLOR: #ff0000"><span style="FONT-SIZE: 13px">透明格式的 BMP 位图 是存在的...在图片浏览器中是看不到效果的..这一点一定要清楚</span></span><br><br><span style="COLOR: #ff0000"><span style="FONT-SIZE: 13px">WINXP里的预设位图都是256色..也就是8位元.因此不需要带a通道..WINXP本身就认可8位元的背景255.0.255 为透明色</span></span><br><br><span style="COLOR: #6600cc">实现这种格式有五种方法</span><br><br><span style="FONT-SIZE: 26px">第一种</span>:就是有人提到的使用 Iconworkshop 6.0 转换一下. (注意:最好用做好的PNG图转成带&#945;通道的Windows 位图BMP(32位))采用alpha通道的<br>这种格式能在Windows下面的程序中用...<br><br><span style="COLOR: #ff6666"><span style="FONT-SIZE: 15px">在DLL中的透明位图资源中,要看清楚你要替换资源的分辩率及位深度(即8位,16位,32位)</span></span><br><br><br><a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122380"><img alt=附件文件 src="http://bbs.pcpchina.com/public/style_extra/mime_types/gif.gif"></a> &nbsp;<a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122380"><u><font color=#284b72>bmp1.jpg</font></u></a> <span class=desc><strong><font color=#606060 size=2>(77.84K)</font></strong></span> <br><span class="desc info"><font color=#606060 size=2>下载数: 97</font></span><a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122381"><font color=#606060 size=2><img alt=附件文件 src="http://bbs.pcpchina.com/public/style_extra/mime_types/gif.gif"></font></a> &nbsp;<a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122381"><u><font color=#284b72>bmp2.jpg</font></u></a> <span class=desc><strong><font color=#606060 size=2>(87.63K)</font></strong></span> <br><font size=2><font color=#606060><span class="desc info">下载数: 96</span><br><br><br><br><br></font></font><span style="FONT-SIZE: 26px">第二种</span>:就是把做好的PNG导入到画图工具里..另存为24位位图..就可以了..效果同上..<br><br><br><br><br><span style="FONT-SIZE: 26px">第三种</span>:有些资源里面不是有一些位图周围是紫色的吗,把那个位图保下来,然后在这个位图里面编辑你要的图形(这个是索引16位位图),这种位图可以在Windows下使用<br><br>下面这张是从DLL的位图资源里保存出来的,进行说明<br><a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122387"><img alt=附件文件 src="http://bbs.pcpchina.com/public/style_extra/mime_types/gif.gif"></a> &nbsp;<a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122387"><u><font color=#284b72>bmp4.jpg</font></u></a> <span class=desc><strong><font color=#606060 size=2>(40.53K)</font></strong></span> <br><span class="desc info"><font color=#606060 size=2>下载数: 84</font></span> <a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122389"><img alt=附件文件 src="http://bbs.pcpchina.com/public/style_extra/mime_types/gif.gif"></a> &nbsp;<a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122389"><u><font color=#284b72>bmp5.jpg</font></u></a> <span class=desc><strong><font color=#606060 size=2>(50.98K)</font></strong></span> <br><span class="desc info"><font color=#606060 size=2>下载数: 75</font></span> <a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122390"><img alt=附件文件 src="http://bbs.pcpchina.com/public/style_extra/mime_types/gif.gif"></a> &nbsp;<a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122390"><u><font color=#284b72>bmp6.jpg</font></u></a> <span class=desc><strong><font color=#606060 size=2>(35.63K)</font></strong></span> <br><span class="desc info"><font color=#606060 size=2>下载数: 63</font></span> <a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122388"><img alt=附件文件 src="http://bbs.pcpchina.com/public/style_extra/mime_types/gif.gif"></a> &nbsp;<a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122388"><u><font color=#284b72>bmp7.jpg</font></u></a> <span class=desc><strong><font color=#606060 size=2>(32.14K)</font></strong></span> <br><span class="desc info"><font color=#606060 size=2>下载数: 71</font></span> <a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122398"><img alt=附件文件 src="http://bbs.pcpchina.com/public/style_extra/mime_types/gif.gif"></a> &nbsp;<a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122398"><u><font color=#284b72>bmp3.jpg</font></u></a> <span class=desc><strong><font color=#606060 size=2>(91.3K)</font></strong></span> <br><font size=2><font color=#606060><span class="desc info">下载数: 59</span><br><br><br><br><br><br></font></font><span style="FONT-SIZE: 26px">第四种</span>:制作好你的位图以后，在通道标签里新建一个ALpha通道，把你想透明的部分用黑色填充，其余部分用白色填充。最后保存成32位位图。效果第一种一样。<br><br><a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122394"><img alt=附件文件 src="http://bbs.pcpchina.com/public/style_extra/mime_types/gif.gif"></a> &nbsp;<a title=下载附件： href="http://bbs.pcpchina.com/index.php?s=f2aae51e42cdb14f13396e65c3fdc446&amp;app=core&amp;module=attach&amp;section=attach&amp;attach_id=122394"><u><font color=#284b72>bmp8.jpg</font></u></a> <span class=desc><strong><font color=#606060 size=2>(58.54K)</font></strong></span> <br><font size=2><font color=#606060><span class="desc info">下载数: 79</span><br><br><br><br><br><br></font></font><span style="FONT-SIZE: 26px">第五种</span>:是自己做Windows默认为RGB色255,0,255(紫色)为透明效果.具体做法.还不是很清楚.实在不好意思.还请大家原谅.<br><br><br></div>
            </td>
        </tr>
    </tbody>
</table>
<img src ="http://www.cppblog.com/Walker/aggbug/145932.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/Walker/" target="_blank">漫步者×&……%￥</a> 2011-05-08 10:43 <a href="http://www.cppblog.com/Walker/articles/145932.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>