Re: [E-devel] [PATCH] Fix imlib2's handling of 16bpp Windows BMP images

2007-05-30 Thread The Rasterman
On Fri, 11 May 2007 15:37:27 +0100 Simon Farnsworth [EMAIL PROTECTED] babbled: We've found that loader_bmp.c in imlib2 1.4.0 does not correctly handle RGB565 Windows BMPs (compression method BI_BITFIELDS), nor does it correctly shift the bits for RGB555 images into the MSBs of the 32 bit

[E-devel] [PATCH] Fix imlib2's handling of 16bpp Windows BMP images

2007-05-22 Thread Simon Farnsworth
We've found that loader_bmp.c in imlib2 1.4.0 does not correctly handle RGB565 Windows BMPs (compression method BI_BITFIELDS), nor does it correctly shift the bits for RGB555 images into the MSBs of the 32 bit output format. The attached patch corrects loader_bmp.c's handling of 16 bit Windows