Bug 73626 - can't load 16bit windows bitmap files
Summary: can't load 16bit windows bitmap files
Status: RESOLVED UPSTREAM
Alias: None
Product: kdelibs
Classification: Unmaintained
Component: qt (other bugs)
Version First Reported In: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 113426 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-01-27 19:06 UTC by Thorsten Roemer
Modified: 2009-04-12 18:22 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.