Alpha 鏄嚭鐜板湪 32 浣嶄綅鍥炬枃浠朵腑鐨勪竴綾繪暟鎹紝鐢ㄤ簬鍚戝浘鍍忎腑鐨勫儚绱犳寚瀹氶忔槑搴︺?
24 浣嶇湡褰╂枃浠跺寘鍚笁縐嶉鑹蹭俊鎭氶亾錛氱孩銆佺豢鍜岃摑鎴?a title=綰€佺豢銆佽摑/鑹茶皟銆侀ケ鍜屽害銆佸?> RGB銆傛瘡涓氶亾鍦ㄥ悇涓儚绱犱笂閮芥嫢鏈夊叿浣撶殑寮哄害鎴栧箋傛瘡涓氶亾鐨勫己搴﹀喅瀹氬浘鍍忎腑鍍忕礌鐨勯鑹層?
閫氳繃娣誨姞絎洓縐?alpha 閫氶亾錛屾枃浠跺彲浠ユ寚瀹氭瘡涓儚绱犵殑閫忔槑搴︽垨涓嶉忔槑搴︺俛lpha 鐨勫間負 0 琛ㄧず閫忔槑錛宎lpha 鐨勫間負 255 鍒欒〃紺轟笉閫忔槑錛屽湪姝よ寖鍥翠箣闂寸殑鍊艱〃紺哄崐閫忔槑銆傞忔槑搴﹀浜?a title=鍚堟垚 >鍚堟垚鎿嶄綔鏄嚦鍏抽噸瑕佺殑錛屽鍦?Video Post 涓紝浣嶄簬鍚勪釜灞備腑鐨勫嚑涓浘鍍忚娣峰悎鍦ㄤ竴璧楓?
瀵逛簬鎵娓叉煋鍥懼儚涓璞$殑閿嬌杈圭紭鍛ㄥ洿閮ㄥ垎閫忔槑鐨勫儚绱狅紝alpha 閫氶亾鐗瑰埆鏈夌敤銆傝繖浜涘儚绱犵敤浜庡悎鎴愩傚鏋滅敓鎴?alpha 閫氶亾錛屽茍涓斾笌鍥懼儚涓鍚屼繚瀛橈紝閭d箞綾諱技浜庝笂榪板艦寮忕殑鍥懼儚鍙互騫蟲粦鍦板悎鎴愬埌涓嶅悓鐨勮儗鏅腑銆?
鐪熷僵浣嶅浘鏂囦歡鐨勬瘡涓氶亾閮藉畾涔変負 8 浣嶏紝鍙互鎻愪緵 256 涓駭鍒殑寮哄害銆傚洜姝わ紝涓涓?RGB 鏂囦歡鏄?24 浣嶇殑錛屽叿鏈?256 涓駭鍒紙閮藉甫鏈夌孩銆佺豢鍜岃摑錛夈俁GBA 鏂囦歡錛堢孩銆佺豢銆佽摑銆乤lpha錛夋槸 32 浣嶇殑錛屽叿鏈夐澶栫殑 8 浣?alpha錛屽彲浠ユ彁渚?256 涓駭鍒殑閫忔槑搴︺?
3ds max 鍙互鍦ㄦ覆鏌撴椂鑷姩鍒涘緩 alpha 閫氶亾銆傛墍娓叉煋鍥懼儚涓殑鑳屾櫙鍍忕礌鏄畬鍏ㄩ忔槑鐨勶紝alpha 閫氶亾涔熷彲浠ヨ鏄庨氳繃鏉愭枡絳夊璞″垱寤虹殑浠諱綍鍏朵粬閫忔槑搴︺傞氳繃鍗曞嚮宸ュ叿鏍忎笂鐨?#8220;鏄劇ず Alpha 閫氶亾”鎸夐挳錛屽彲浠ュ湪娓叉煋甯х獥鍙?/font>涓湅鍒拌繖縐嶆儏鍐碉細鍦ㄧ敓鎴愮殑鏄劇ず涓紝榛戣壊鍍忕礌鏄畬鍏ㄩ忔槑鐨勶紝鐧借壊鍍忕礌鏄笉閫忔槑鐨勶紝鑰岀伆鑹插儚绱犲垯鏄劇ず閫忔槑搴︺傝榪斿洖鍒板父瑙勬樉紺猴紝鍐嶆鍗曞嚮“鏄劇ず Alpha 閫氶亾”鍗沖彲銆?
瑕佽緭鍑哄甫鏈?alpha 鐨勬覆鏌撳浘鍍忥紝璇蜂互 alpha 鍏煎鐨勬牸寮忚繘琛屼繚瀛橈紝濡?TIFF 鎴?Targa銆傚鏋滀嬌鐢?Targa錛岄粯璁よ緗皢鍖呭惈淇濆瓨 alpha錛涘鏋滀嬌鐢?TIFF錛岃紜繚鎵撳紑“瀛樺偍 Alpha 閫氶亾”澶嶉夋銆?
|
Create a Transparent Image with Adobe Photoshop®
|
All Axialis Software 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 Axialis IconWorkshop™) or a screensaver with smooth sprites (using Axialis Professional Screen Saver Producer) we recommend you to use images with Alpha channel.
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).
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.

We'll learn how to create a transparent image with Alpha Channel from a standard image. Photoshop® 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.
Create a Transparent Image using Adobe Photoshop®
1. Open your image in Photoshop® (we use version 7.0 in this tutorial). Select File/Open... Choose your file and click Open. The file open in a separate document window. You can download the original image we use in this tutorial here: logo.bmp (right-click and choose Save Target As).
2. If the file is not in RGB format (16.8 M colors), convert it: Choose Image/Mode/RGB Color.
3. 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 Magic Wand Tool (W) or click
in the toolbox. Be sure to specify Tolerance=10, Anti-aliased and Contiguous 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 (
):

4. 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 Polygonal Lasso Tool (L) or click
. It's a bit more difficult but that's the only way to proceed.
5. Now, we'll select the logo only. To do so, choose Select/Inverse (Shft+Ctrl+I). It's almost unchanged but the dashed-line around the square border of the image has disappeared.
6. Choose Edit/Copy (Ctrl+C), then Edit/Paste (Ctrl+V) 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 (
). The original image is present in the background (
). Now, we'll hide the original image by clicking on the "eye" button of the background layer (
). If you want, you can also delete it by drag-and-drop it on the trash (at the right-bottom corner of the list).

5. 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 (
) indicating that this area is in fact transparent.

6. We recommend to save the image to another file to keep the original one intact. Select "File/Save As...". In Format box, select "PNG" (our favorite format). Please note that BMP and PSD formats also support 32 BPP / Alpha Channel. Click Save. Select Interlace: "None", click OK.
7. You're done, the transparent version of your image is created. You can download the image we've created in this tutorial here: logo-ps.png (right-click and choose Save Target As).

]]>