Hi,

Very old issue, but let's see if I can add something useful to the
discussion.

ppmtowinicon relies only on grayscale images (PGM, or PBM as a
particular case of PGM) as alpha masks because it is easier to make
assumption about what the transparent and opaque areas are going to be
in this case (white color means opaque, non-white means transparent); if
you use a color image as alpha mask what color do you take as the
transparent area? In your example, by running ppmtopgm you are actually
adding the assumption that the white "color" is meant to be the opaque
area, well, it is not so trivial in general.
Using grayscale images for alpha masks makes sense because it is easy.

FWIW I think this bug can be closed as well.

Regards,
   Antonio

-- 
Antonio Ospite
http://ao2.it

PGP public key ID: 0x4553B001

A: Because it messes up the order in which people normally read text.
   See http://en.wikipedia.org/wiki/Posting_style
Q: Why is top-posting such a bad thing?

Attachment: pgpzXZkcwphpH.pgp
Description: PGP signature

Reply via email to