107108109110111112113114115116117
return new ImageParser[]{ new BmpImageParser(), new DcxImageParser(), new GifImageParser(), new IcnsImageParser(), new IcoImageParser(), new JpegImageParser(), new PcxImageParser(), new PngImageParser(), new PnmImageParser(), new PsdImageParser(),
2324252627282930313233
int transparentPixel = -1, alpha = -1; int /* long */hMask = 0, hBitmap = 0; byte[] alphaData = null; switch (image.type) { case SWT.ICON: ICONINFO info = new ICONINFO(); Extension.GetIconInfo(image.handle, info); hBitmap = info.hbmColor; hMask = info.hbmMask; break; case SWT.BITMAP: