Article # 608, added by Geoworks, historical record
| first | previous | index | next | last |

How to have transparent backgrounds on bitmaps.



Q. Is it possible in GEOS, especially on the Nokia 9000, to have
   icons with transparent backgrounds?

A. If you've got a PCX file that you want to convert to an icon,
   the 'm' switch in cvtpcx allows you to say that one of the colors
   is masked out. You need to know the decimal number corresponding
   to the color - a program like Paint Shop Pro or Neopaint should
   tell you this info. From the documentation on cvtpcx:

    -m     Pixel to be masked out. Any pixel containing this
                  color (a decimal number) will be given a 0 bit in
                  the mask for the color bitmap. Defaults to none.

   Light cyan is used for the transparent mask on the N9000. Specify
   that light cyan is the mask in the cvtpcx script with "-m11".