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
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: Tue Apr 23 10:10:54 GMT 2024

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

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

Back to the top