| Author |
SWT load image from byte array or Blob
|
Garner Tan
Greenhorn
Joined: Aug 05, 2011
Posts: 1
|
|
I am having problems with creating images from a byte array in SWT.
So, I created a simple code to test retrieving an image from bytes.
However, I get a an error:
org.eclipse.swt.SWTException: Unsupported or unrecognized format
with the stacktrace pointing to
ImageData imageData = new ImageData(istream);
Can anybody help me?
Thanks!
Edit: Nevermind, I realized that I passed an incomplete data, I just used AWT Image instead.
|
 |
 |
|
|
subject: SWT load image from byte array or Blob
|
|
|