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 stuart
Messages: 1
Registered: July 2009
Junior Member
Hi,

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 ?

Thanks,
Stuart
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: Fri Oct 31 21:35:25 GMT 2014

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

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