[prev in list] [next in list] [prev in thread] [next in thread] 

List:       racket-users
Subject:    [plt-scheme] Simple question about bitmap and transparency
From:       ziboon () gmail ! com (Ziboon)
Date:       2009-03-30 10:14:30
Message-ID: 45bb82cc0903300314x364d9ea5p25ee3261e5b7afbb () mail ! gmail ! com
[Download RAW message or body]

hi,
I'm student and I have a simple question, I searched but I didn't find
recent answer.
So :
(define gg (make-object bitmap% "toto.png" 'png #f))

My image is a round logo with transparency. How to have transparency when I
draw it?

(Actually I have a white or black rectangle around my logo, instead of
transparency)

I try with gif, with 'png/mask 'gif/mask and this (send a-bitmap
get-loaded-mask) no way.

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20090330/003a8065/attachment.html>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic