PDA

View Full Version : Transparency in Panel .BMPs...


P J Dunbar
April 23rd, 2006, 09:52
Has anyone somes ideas on the following matter?

In CFS and FS, the transparent areas of a panel background .BMP are determined by pixels of a same particular chosen colour. In theory it doesn't matter what this colour is, but, as bright colours might leave too visible scars at the edge of anti-aliased areas, it is in most cases preferable to use pure black (R=0,G=0,B=0).

The problem is a certain quantity of unwanted separate pixels of this pure black ( or any chosen colour) may sometimes appear in some shady or darker sectors of areas that should stay opaque.

Working with layers on .PSP files, I generally manage to avoid this phenomenon by placeing a pure black layer just under the opaque areas layer and very slightly increasing light and/or diminishing contrast in the upper layer.

However, the problem may reappear when converting the .PSP file to a .BMP and reducing its number of colours from 16.7 millions to 256.

I just wondered if anyone knew of a safer a more accurate method to eliminate the unwanted pixels without loosing any contrast in the picture. Thanks a lot in advance for any piece of advice.

Greetings,

Pol.