Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] SWT getImageData().type always -1

Hello.

I am using SWT to do a project for college.
The method getImageData().type from Image Object will ALWAYS return -1.
If I load a Image Object from a byte[] or from a File it is always -1. I can see jpeg and gif, but type is always -1.
Is that a bug, or am I stupid ? :-)
Is there another way to find out what type a image it is?

thanks
Phil



Back to the top