SWT image transparency conversion

Swing Designer allows you to quickly create the frames, panels, dialogs, applets and other UI elements that comprise Java Swing applications.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

SWT image transparency conversion

Postby shahbaz_cooool » Fri May 09, 2008 12:00 am

Hi,
Anyone tell me how to transparent a SWT image for a specific color.
for example, i want to transparent white color instances of an image into transparent.
shahbaz_cooool
 
Posts: 1
Joined: Thu May 08, 2008 11:56 pm

Re: SWT image transparency conversion

Postby Eric Clayberg » Fri May 09, 2008 9:13 am

shahbaz_cooool wrote:Anyone tell me how to transparent a SWT image for a specific color.
for example, i want to transparent white color instances of an image into transparent.

General SWT questions should be posted to the Eclipse SWT newsgroup. This forum is for questions specific to SWT Designer.

Assuming you are using a GIF image, you can set the transparency color in the image itself. Any decent GIF editing program should allow you to do that.
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to Swing Designer

Who is online

Users browsing this forum: No registered users and 1 guest