Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Loading PNG file with alpha channel
Loading PNG file with alpha channel [message #442240] Mon, 30 August 2004 11:48 Go to next message
Mohsen Saboorian is currently offline Mohsen SaboorianFriend
Messages: 19
Registered: July 2009
Junior Member
Hi,
I have a 32 bit png file (sure with alpha channel properties).
Now when I try to open it as a form icon (using shell.setImage(...),
the result is not as the image should be. It seems to be 256color
or may alpha channel values are ignored.
As far as I know the only image format with alpha channel enabled is png,
so it seems that there is no alternative way.
Re: Loading PNG file with alpha channel [message #442482 is a reply to message #442240] Fri, 03 September 2004 16:11 Go to previous messageGo to next message
rich boakes is currently offline rich boakesFriend
Messages: 76
Registered: July 2009
Member
Mohsen Saboorian wrote:

> I have a 32 bit png file ... when I try to open ... the
> result is not as the image should be.

See (and vote for) this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=35040

_______________________________________________
rich boakes.org
Re: Loading PNG file with alpha channel [message #442500 is a reply to message #442482] Sun, 05 September 2004 08:01 Go to previous messageGo to next message
Mohsen Saboorian is currently offline Mohsen SaboorianFriend
Messages: 19
Registered: July 2009
Junior Member
OK ;)

"rich boakes" <rich.boakes@port.ac.uk> wrote in message
news:cha4pm$i61$1@eclipse.org...
> Mohsen Saboorian wrote:
>
> > I have a 32 bit png file ... when I try to open ... the
> > result is not as the image should be.
>
> See (and vote for) this bug:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=35040
>
> _______________________________________________
> rich boakes.org
Re: Loading PNG file with alpha channel [message #443698 is a reply to message #442240] Wed, 29 September 2004 13:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dostick.apollo.lv

This bug is known for like two years :-o
You are supposed to use transparent GIFs like everyone else.

Mohsen Saboorian wrote:

> Hi,
> I have a 32 bit png file (sure with alpha channel properties).
> Now when I try to open it as a form icon (using shell.setImage(...),
> the result is not as the image should be. It seems to be 256color
> or may alpha channel values are ignored.
> As far as I know the only image format with alpha channel enabled is png,
> so it seems that there is no alternative way.
>
>
Re: Loading PNG file with alpha channel [message #443700 is a reply to message #442240] Wed, 29 September 2004 13:14 Go to previous message
Eclipse UserFriend
Originally posted by: dostick.apollo.lv

Mohsen Saboorian wrote:

> Hi,
> I have a 32 bit png file (sure with alpha channel properties).
> Now when I try to open it as a form icon (using shell.setImage(...),
> the result is not as the image should be. It seems to be 256color
> or may alpha channel values are ignored.
> As far as I know the only image format with alpha channel enabled is png,
> so it seems that there is no alternative way.
>
>
https://bugs.eclipse.org/bugs/show_bug.cgi?id=35040
Previous Topic:New dialog in Job
Next Topic:Return code of window.open()
Goto Forum:
  


Current Time: Thu Apr 25 04:21:51 GMT 2024

Powered by FUDForum. Page generated in 0.03211 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top