[plt-scheme] Got problems with gif transparency!

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Tue Mar 18 11:09:52 EST 2003

At Tue, 18 Mar 2003 13:55:34 +0100 (CET), Berticolas Copimasso wrote:
> We've made a bitmap% with .gif file using 'gif/mask style(the .gif file got a 
> transparent backgroud).The method get-loaded-mask return the mask normally; 
> but we didn't manage to make the bitmap% transparent .

There's not really any such thing as a transparent bitmap% in MrEd.
Instead, the `draw-bitmap' method of dc<%> accepts an optional mask
bitmap in addition to the main bitmap.

So, after obtaining a mask bitmap with `get-loaded-mask', did you
supply it as the mask argument to dc<%>? (If so, do you know whether
the bitmap returned by `get-loaded-mask' is right? Or is it that the
bitmap and its mask seem to be ok, but `draw-bitmap' doesn't seem to do
the right thing?)


Posted on the users mailing list.