Bug 73626

Summary: can't load 16bit windows bitmap files
Product: [Unmaintained] kdelibs Reporter: Thorsten Roemer <roemerth>
Component: qtAssignee: kdelibs bugs <kdelibs-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: grundleborg, nicolasg, ogoffart, thorsten.roemer
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Thorsten Roemer 2004-01-27 19:06:44 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    Compiled From Sources
OS:          Linux

Konqueror & kuickshow are unable to load 16bit windows bitmap files. I've found three errors (typo & logic) in the imlib implementation used by kuickshow. Konqi is not using imlib, perhaps qt for rendering? Looks like 16bit loading is disabled in qimage.cpp (QT_NO_IMAGE_16_BIT). Any hints why?
Comment 1 Nicolas Goutte 2004-04-02 00:46:16 UTC
Are you meaning 16 bit BITFIELDS BMP files, which are part of the multimedia extensions of Windows?

Looking at the source of Qt 3.3.x, they should be supported.

If you want to look at the code, see the Qt source file src/kernel/qimage.cpp (from line 4598 .)

Have a nice day!
Comment 2 Nicolas Goutte 2004-04-02 01:28:44 UTC
I have looked further. There is indeed one type that it is not supported:
16 but files defined as BMP_RGB.

Everything would be there in the code, except that there is no definition of the corresponding mask, but just a "return FALSE" at line 4701.

So I think that the best would be that you send a bug report to mailto:qt-bugs@trolltech.com (with one or two example images perhaps.)

Have a nice day!
Comment 3 George Goldberg 2008-12-12 14:38:07 UTC
*** Bug 113426 has been marked as a duplicate of this bug. ***
Comment 4 George Goldberg 2008-12-12 14:38:44 UTC
Comments and attachments on bug 113426 may be useful to this report.
Comment 5 Olivier Goffart 2009-04-12 18:22:42 UTC
works with arora.