15.3. Yarı Düzleştir

15.3.1. Genel Görünüm

The Semi-flatten filter helps those in need of a solution to anti-aliasing indexed images with transparency. The GIF indexed format supports complete transparency (0 or 255 alpha value), but not semi-transparency (1 - 254): semi-transparent pixels will be transformed to no transparency or complete transparency, ruining anti-aliasing you applied to the logo you want to put onto your Web page.

Before applying the filter, it's essential that you should know the background color of your Web page. Use the color-picker to determine the exact color which pops up as the Foreground color of the Toolbox. Invert FG/BG colors so that BG color is the same as Web background color.

Semi-flatten process will combine FG color to layer (logo) color, proportionally to corresponding alpha values, and will rebuild correct anti-aliasing. Completely transparent pixels will not take the color. Very transparent pixels will take a few color and weakly transparent will take much color.

15.3.2. Süzgeci Etkinleştirme

Bu süzgeç ana menüde SüzgeçlerWebYarı Düzleştir… altında bulunur. Görüntünün Alfa kanalı varsa kullanılabilir (bkz. Kısım 7.36, “Add Alpha Channel”). Diğer durumda devre dışı bırakılır.

15.3.3. Seçenekler

Şekil 17.422. Yarı Düzleştir süzgeci seçenekleri iletişim kutusu

“Yarı Düzleştir” süzgeci seçenekleri iletişim kutusu

Önayarlar, Girdi Türü, Kırpma, Harmanlama Seçenekleri, Ön İzleme, Süzgeci birleştir, Bölünmüş görünüm
[Not] Not

Bu seçenekler şurada açıklanmıştır: Kısım 2, “Ortak Özellikler”.

Renk

This allows you to change the color that is used by this filter to fill in semi transparent areas. You can click the color bar to select a color, or use the color picker to pick a color from your image.

15.3.4. Örnek

In the example below, the Toolbox Background color is pink, and the image has feathered edges on a transparent background.

Şekil 17.423. Yarı Düzleştir örneği

Yarı Düzleştir örneği

Etkin arka plan rengi

Yarı Düzleştir örneği

%800 yakınlaştırma düzeyinde


Full transparency is kept. Semi-transparent pixels are colored with pink according to their transparency (Alpha value). This image will well merge into the pink background of the new page.

Şekil 17.424. Yarı Düzleştir süzgeci uygulanmış

Yarı Düzleştir süzgeci uygulanmış

Sonuç, GIF biçiminde, Yarı Düzleştir süzgeci uygulandıktan sonra