Skip to main content



      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 08:25
Eclipse UserFriend
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: Mon Jul 07 13:32:41 EDT 2025

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

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

Back to the top