[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Monochrome (1-bit) bitmaps are inverse between Win32 & Mac OSX

I'm fairly new to Java & Eclipse/SWT so I thought I better check this with someone who has experience.

I'm writing an app which loads a 1-bit Monochrome bitmap. I use the bitmap to set a region for my window. I've tested my JAR on WindowsXP & Mac OSX and it seems that between the two platforms the results from reading the image data are opposite/inverted.

I'm using the SWT image library:

org.eclipse.swt.graphics.Image
org.eclipse.swt.graphics.ImageData

Is this a bug or am I making a newbie mistake?