Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » ImageData loader with 1bpp images
ImageData loader with 1bpp images [message #1834012] Fri, 30 October 2020 08:03
Marco Maccaferri is currently offline Marco MaccaferriFriend
Messages: 144
Registered: July 2009
Senior Member
Hi,

I'm currently updating an SWT stand-alone application with the libraries from 2020-06 release (4.16) and seems that the ImageData loader doesn't load 1bpp (one bit per pixel) images as paletted images anymore, and seems that all images are loaded as 32-bit images.

With the previous version from release 4.6 the image were loaded as 8-bit per pixel paletted.

Is that right ?

I managed to get the paletted imagedata back with getPixel / setPixel, but I'm wondering if there is a flag or some setting to have the previous behaviour.

I'm using Linux (Ubuntu 20.10, 64 bit), the image is described as "PNG image data, 256 x 128, 1-bit colormap, non-interlaced".

Best regards,
Marco
Previous Topic:Syntax Highlighting with StyledText via Glimmer DSL for SWT
Next Topic:[Minimize/Maximize and Restore the window] shows black ui for a moment.
Goto Forum:
  


Current Time: Mon Apr 12 12:29:44 GMT 2021

Powered by FUDForum. Page generated in 0.01529 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top