Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Converting from Swing BufferedImage to ImageData
Converting from Swing BufferedImage to ImageData [message #466686] Fri, 13 January 2006 13:25
stuart is currently offline stuartFriend
Messages: 1
Registered: July 2009
Junior Member

I'm using a swing library that generates BufferedImage data that I'd like
to use to create an swt Image (via a conversion to ImageData). I've seen
snippet156 that does exactly this, however the problem is that this
particular BufferedImage appears to use a ComponentColorModel rather than
a DirectColorModel or an IndexColorModel.

Does anyone have any similar conversion methods ?

Previous Topic:Is there a way to programatically ensure that the categories in the property window are expanded
Next Topic:refresh composite
Goto Forum:

Current Time: Wed Feb 26 20:40:21 GMT 2020

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

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

Back to the top