K
kfranic
Hi all,
I'm starting with SWT (I like it so far) but I have most stupid
question that I can't find simple answer to...
If I want to create AWT Image from byte array I use:
byte[] buff =...;
Image img = Toolkit.getDefaultToolkit().createImage(buff);
How do I do same thing with org.eclipse.swt.graphics.Image?
I have PNG image within one jar file from which I want to create SWT
image object.
I see that there are complex conversions available and this is not the
approach I'd like to take...
Regards,
FrenKy
I'm starting with SWT (I like it so far) but I have most stupid
question that I can't find simple answer to...
If I want to create AWT Image from byte array I use:
byte[] buff =...;
Image img = Toolkit.getDefaultToolkit().createImage(buff);
How do I do same thing with org.eclipse.swt.graphics.Image?
I have PNG image within one jar file from which I want to create SWT
image object.
I see that there are complex conversions available and this is not the
approach I'd like to take...
Regards,
FrenKy