Hi,
I have a window with a panel on it which I used to display an image. The image is a PNG and has transparent parts to it in an image editor, but when I load it using LoadPixmapPNG and apply it to the MaxGUI panel (using SetPanelPixmap), the background colour of the image remains white (e.g. not transparent). I have tried using the MaskPixmap() function and applying that to the panel but you get a black background instead.
What I need ideally is for the transparent parts of the PNG (the background) to be the window's background colour?
Is this possible and if so, how do you do it? :P
Cheers
Seb
I have a window with a panel on it which I used to display an image. The image is a PNG and has transparent parts to it in an image editor, but when I load it using LoadPixmapPNG and apply it to the MaxGUI panel (using SetPanelPixmap), the background colour of the image remains white (e.g. not transparent). I have tried using the MaskPixmap() function and applying that to the panel but you get a black background instead.
What I need ideally is for the transparent parts of the PNG (the background) to be the window's background colour?
Is this possible and if so, how do you do it? :P
Cheers
Seb