Lisp HUG Maillist Archive

images with transparent areas

I'm trying to create an about box for my Mac 4.3.7 application, so I 
need to display an icon some transparent areas. I tried passing a color 
for the :transparent-color-index keyword of gp:read-external-image, but 
I get an error: NIL is not of type ARRAY.

Is this a bug or is there something else I need to do?

Thanks,

John DeSoi, Ph.D.


Re: images with transparent areas

On Oct 18, 2004, at 11:33 AM, John DeSoi wrote:

> I'm trying to create an about box for my Mac 4.3.7 application, so I 
> need to display an icon some transparent areas. I tried passing a 
> color for the :transparent-color-index keyword of 
> gp:read-external-image, but I get an error: NIL is not of type ARRAY.

I figured it out -- the image must be 256 or fewer colors to use 
:transparent-color-index.

Best,

John DeSoi, Ph.D.


Updated at: 2020-12-10 08:54 UTC