Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] Transparent images in Labels

If I didn't misunderstand if I load a GIF and put it on a label
(setImage()) I should see the label's background color where the gif's
transparent color is setted.

The gif I'm using is transparent if I put it inside a word document.

Here's how I load the image.

...
InputStream is = this.getClass().getResourceAsStream("some.gif");
return new Image(this.getDisplay(), is);
...

I don't get the transparency effect.
Any thoughts?

		Federico


Back to the top